]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit015403abd0405ab9b5b60193fb4bbd4b3015cfb5
tree7630f97c167d5dcc59cb6e517374d0e544c3f04e
parent40253fcfda5f5532eb4156f0e7ad63b5f7fdd24b
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