driver model: clean up bus_for_each_{dev,drv}
- make sure we check what we get back from get_bus() - do down_read() instead of down_write(), so multiple people can do iterations concurrently. - Note that devices and drivers are removed from these while doing a down_write(), so all removals will be stalled until the iterators are done.
Showing
Please register or sign in to comment