OSDN Git Service

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)
commited0617b5c0bcd7fd04053568aa0cc19a977a1f26
tree8b5a0a83d4374fc9d6361cbb9f820300c446d7ca
parentfa6fdb33b486a8afc5439c504da8d581e142c77d
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