[PATCH] driver core: add bus_find_device & driver_find_device functions
authorCornelia Huck <cohuck@de.ibm.com>
Wed, 22 Jun 2005 14:59:51 +0000 (16:59 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Jun 2005 05:48:03 +0000 (22:48 -0700)
commit0edb586049e57c56e625536476931117a57671e9
tree9d92bb9821d134d199d62de1ff3096ff2b73fdc7
parentfd782a4a99d2d3e818b9465c427b10f7f027d7da
[PATCH] driver core: add bus_find_device & driver_find_device functions

Add bus_find_device() and driver_find_device() which allow searching for a
device in the bus's resp. the driver's klist and obtain a reference on it.

Signed-off-by: Cornelia Huck <cohuck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/bus.c
drivers/base/driver.c
include/linux/device.h