]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit521951c8401ddef3ad6c908126509a81df5665cd
tree2195533d76d3a35d78c9e685de128ca80248bea1
parent6f7019e1763ad14b1b6e2ef4195232192bd47efe
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