This series do three things: 1.[PATCH 1/7] Add some class iteration functions in driver core: class_for_each_device class_find_device class_for_each_child class_find_child
2.[PATCH {2,3,4,5,6}/7] Make the drivers with class iterating to use class iteration api. 3.[PATCH 7/7] Convert the class semaphore to mutex. toc: --- 1-driver-core-add-class-iteration-api.patch 2-ieee1394-use-class-iteration-api.patch 3-power_supply-use-class-iteration-api.patch 4-rtc-use-class-iteration-api.patch 5-scsi-use-class-iteration-api.patch 6-spi-use-class-iteration-api.patch 7-driver-core-class-convert-semaphore-to-mutex.patch Summary diffstat: --- drivers/base/class.c | 197 +++++++++++++++++++++-- drivers/base/core.c | 18 -- drivers/ieee1394/nodemgr.c | 319 +++++++++++++++++++++----------------- drivers/power/apm_power.c | 116 ++++++++----- drivers/power/power_supply_core.c | 72 ++++---- drivers/rtc/interface.c | 22 +- drivers/scsi/hosts.c | 26 +-- drivers/spi/spi.c | 26 +-- include/linux/device.h | 11 + 9 files changed, 523 insertions(+), 284 deletions(-) Thanks all your comment and help. If there's some problem in these ones, please help to point out. Thanks again. Regards dave -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/