[Driver Model] Add default device attributes to struct bus_type.
- Add struct bus_type::dev_attrs, which is an array of device attributes that are added to each device as they are registered. - Also make sure that we don't hang when removing bus attributes if adding one failed..
Showing
Please register or sign in to comment