]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Driver core: Clarify device cleanup.
authorCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 16 Oct 2008 22:05:07 +0000 (22:05 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Oct 2008 21:21:03 +0000 (14:21 -0700)
commit02d4bc2c23cabd7930011b4d030807db2c6604a2
treeb2f45a62e169f4147dad8a17dc1521bbce87f203
parentc552cad06920b6dc20bb0b41bbb37b60f194e46a
Driver core: Clarify device cleanup.

commit 5739411acbaa63a6c22c91e340fdcdbcc7d82a51 upstream

Make the comments on how to use device_initialize(), device_add()
and device_register() a bit clearer - in particular, explicitly
note that put_device() must be used once we tried to add the device
to the hierarchy.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c