]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Driver core: make device_is_registered() work for class devices
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 13 Mar 2008 21:07:03 +0000 (17:07 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 20 Apr 2008 02:10:26 +0000 (19:10 -0700)
commit3f62e5700b2a679ae987b32a68126dd6dcf2488f
tree4f8eda958d328b6fc068409c0fb464bc7c21266b
parent9a3df1f7de0ecaf77a1dde86f2a4dc020f37f87e
Driver core: make device_is_registered() work for class devices

device_is_registered() can use the kobject value for this, so it will
now work with devices that are associated with only a class, not a bus
and a driver.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/bus.c
include/linux/device.h