driver core: Fix s390, get default driver attributes for free.
cover driver core: Fix s390, get default driver attributes for free.
Hi Greg,
I spent some time fixing up the driver tree on s390 and found that the easiest way to do so is to introduce default attribute groups for device drivers (like for devices).
Since I'm lazy, I didn't take care to delay the uevent for device drivers to after adding the attribute groups, but this should be done when struct device_driver is converted to the new kobject interface.
Cornelia
Quoted 9 lines · Cornelia Huck
Hi Greg,
I spent some time fixing up the driver tree on s390 and found that the easiest way to do so is to introduce default attribute groups for device drivers (like for devices).
Since I'm lazy, I didn't take care to delay the uevent for device drivers to after adding the attribute groups, but this should be done when struct
device_driveris converted to the new kobject interface.
Wonderful, thanks for doing this, looks nice.
greg k-h