[PATCH] Use a klist for device child lists.
authormochel@digitalimplant.org <mochel@digitalimplant.org>
Fri, 25 Mar 2005 03:08:30 +0000 (19:08 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:15:23 +0000 (15:15 -0700)
commit36239577cfb6b9a7c111209536b54200b0252ebf
treef8fa5034fbb31d273d0889119cbc20e4c4b0c983
parent9a881f166f473373589ce6f3fdc47b44a1450e2d
[PATCH] Use a klist for device child lists.

- Use klist iterator in device_for_each_child(), making it safe to use for
  removing devices.
- Remove unused list_to_dev() function.
- Kills all usage of devices_subsys.rwsem.

Signed-off-by: Patrick Mochel <mochel@digitalimplant.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c
include/linux/device.h