On Wed, Jun 29, 2011 at 1:51 AM, Grant Likely <grant.likely@xxxxxxxxxxxx> wrote: > It's not the device_for_each_child() that you're 'putting' back from > here. Its the original kref initialization when the device was > created. device_unregister() is already calling put_device(), doesn't that deal with the original kref init for us ? -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html