[PATCH 16/16] driver-core: remove struct bus_type.dev_attrs

2017-06-06 Thread Greg Kroah-Hartman
Now that all in-kernel users of bus_type.dev_attrs have been converted to use dev_groups instead, the dev_attrs field, and logic surrounding it, can be removed. Signed-off-by: Greg Kroah-Hartman --- drivers/base/bus.c | 37 +

[PATCH 16/16] driver-core: remove struct bus_type.dev_attrs

2017-06-06 Thread Greg Kroah-Hartman
Now that all in-kernel users of bus_type.dev_attrs have been converted to use dev_groups instead, the dev_attrs field, and logic surrounding it, can be removed. Signed-off-by: Greg Kroah-Hartman --- drivers/base/bus.c | 37 + include/linux/device.h | 2