diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-12-07 16:12:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-12-07 17:55:21 +0300 |
commit | 050663129a6d70a178a8545c31bc715bfb915355 (patch) | |
tree | f9de8e7f975bb132b370527d1930924049d3b658 /drivers/s390/net/qeth_l2_main.c | |
parent | 04ea30c857217eb69451f8ced5a857693666ae16 (diff) | |
download | linux-050663129a6d70a178a8545c31bc715bfb915355.tar.xz |
s390/ccwgroup: use bus->dev_groups for bus-based sysfs attributes
Bus drivers have their own way of describing the sysfs attributes that
all devices on a bus should provide.
Switch ccwgroup_attr_groups over to use bus->dev_groups, and thus
free up dev->groups for usage by the ccwgroup device drivers.
While adjusting the attribute naming, use ATTRIBUTE_GROUPS() to get rid
of some boilerplate code.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l2_main.c')
0 files changed, 0 insertions, 0 deletions