driver core: bus_type: add bus_groups
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Aug 2013 22:22:57 +0000 (15:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 22:33:31 +0000 (15:33 -0700)
commit12478ba077adf8b53be6101b80dd8a65e4df9ea6
tree7630f97c167d5dcc59cb6e517374d0e544c3f04e
parented0617b5c0bcd7fd04053568aa0cc19a977a1f26
driver core: bus_type: add bus_groups

attribute groups are much more flexible than just a list of attributes,
due to their support for visibility of the attributes, and binary
attributes. Add bus_groups to struct bus_type which should be used
instead of bus_attrs.

bus_attrs will be removed from the structure soon.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/bus.c
include/linux/device.h