]> err.no Git - linux-2.6/commit
Driver core: add bus_find_device_by_name function
authorGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Jan 2008 18:29:20 +0000 (10:29 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Jan 2008 23:01:39 +0000 (15:01 -0800)
commit1f9ffc049d7a88c8489b883b6fc0a25185062002
tree0dddb114d2de5f380ab055c039da0549adb42b12
parent123ca9575b1f5342c05a4b84d6af8ba7587c2981
Driver core: add bus_find_device_by_name function

The driver core, and some other parts of the kernel just want to find a
device based on a name for a specific bus.  Give them a simple wrapper
to prevent them from having to always roll their own.

This will be used in the PPC patch later in this series.

Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/bus.c
include/linux/device.h