• Patrick Mochel's avatar
    driver model: convert devices to use kobjects and sysfs. · 77057f5a
    Patrick Mochel authored
    - Define a device subsystem and register it on startup. 
    - Fill it in with fields converted from driverfs-style fields.
    - Convert device_{create,remove}_file() to create files in sysfs. 
    - Add default device attributes to device subsystem.
    - Make sure devices get proper kobject familial pointers and that the kobjects
      are registered. 
     
    77057f5a
core.c 5.99 KB