driver core: bus_type: add dev_groups
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Aug 2013 22:22:55 +0000 (15:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 22:33:31 +0000 (15:33 -0700)
commitfa6fdb33b486a8afc5439c504da8d581e142c77d
tree2195533d76d3a35d78c9e685de128ca80248bea1
parente70b0915124942204dec8064bb25756e8723b81a
driver core: bus_type: add dev_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 dev_groups to struct bus_type which should be used
instead of dev_attrs.

dev_attrs will be removed from the structure soon.

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