• Patrick Mochel's avatar
    driver model: clean up struct bus_type a bit. · 46dbdc4e
    Patrick Mochel authored
    - Remove devices list, in favor of using the list in the subordinate
      devices subsystem.
    - Rename devsubsys to 'devices' and drvsubsys to 'drivers'.
    - Use bus's rwsem when iterating over drivers, instead of the 
      subordinate driver subsystem's. (We use that one when adding the 
      driver, and binding it to devices).
    46dbdc4e
bus.c 12.9 KB