On Wed, Jun 29, 2011 at 1:51 AM, Grant Likely <grant.likely at secretlab.ca> 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 ?