]> git.baikalelectronics.ru Git - kernel.git/commit
driver core: bus_type: add drv_groups
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Aug 2013 22:22:56 +0000 (15:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 22:33:31 +0000 (15:33 -0700)
commit0ec8a3f1ce10b017899cf309fe3a3c42ce430d33
tree8b5a0a83d4374fc9d6361cbb9f820300c446d7ca
parent0545601336922404c65753866402383cd9b2bb0f
driver core: bus_type: add drv_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 drv_groups to struct bus_type which should be used
instead of drv_attrs.

drv_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/driver.c
include/linux/device.h