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

This mirrors the functionality that driver_for_each_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/i2c/i2c-core.c
drivers/ieee1394/nodemgr.c
drivers/power/apm_power.c
drivers/power/power_supply_core.c
include/linux/device.h