aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/driver.c
AgeCommit message (Collapse)AuthorFilesLines
2005-06-20[PATCH] Fix up bogus comment.[email protected]1-2/+1
Signed-off-by: Patrick Mochel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> diff -Nru a/drivers/base/driver.c b/drivers/base/driver.c
2005-06-20[PATCH] Add a klist to struct device_driver for the devices bound to it.[email protected]1-12/+15
- Use it in driver_for_each_device() instead of the regular list_head and stop using the bus's rwsem for protection. - Use driver_for_each_device() in driver_detach() so we don't deadlock on the bus's rwsem. - Remove ->devices. - Move klist access and sysfs link access out from under device's semaphore, since they're synchronized through other means. Signed-off-by: Patrick Mochel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2005-06-20[PATCH] Add driver_for_each_device().[email protected]1-0/+35
Now there's an iterator for accessing each device bound to a driver. Signed-off-by: Patrick Mochel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Index: linux-2.6.12-rc2/drivers/base/driver.c ===================================================================
2005-04-16Linux-2.6.12-rc2Linus Torvalds1-0/+138
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!