Driver Core: add ability for class_find_device to start in middle of list
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 May 2008 21:21:08 +0000 (17:21 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 04:54:47 +0000 (21:54 -0700)
commit695794ae0c5bdd9bd06e35b118801e2e9be04f9e
tree71011d17230e67798c6e474ffac10cb93d72919e
parent93562b537659fc0f63920fd4d9d24f54e434f4c4
Driver Core: add ability for class_find_device to start in middle of list

This mirrors the functionality that driver_find_device has as well.

We add a start variable, and all callers of the function are fixed up at
the same time.

The block layer will be using this new functionality in a follow-on
patch.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/class.c
drivers/base/core.c
drivers/ieee1394/nodemgr.c
drivers/rtc/interface.c
drivers/scsi/hosts.c
drivers/scsi/scsi_transport_iscsi.c
drivers/spi/spi.c
include/linux/device.h