linux-stable/drivers/s390
Julian Wiedmann 0b8da8110b s390/qeth: use dev->groups for common sysfs attributes
All qeth devices have a minimum set of sysfs attributes, and non-OSN
devices share a group of additional attributes. Depending on whether
the device is forced to use a specific discipline, the device_type then
specifies further attributes.

Shift the common attributes into dev->groups, so that the device_type
only contains the discipline-specific attributes. This avoids exposing
the common attributes to the disciplines, and nicely cleans up our
sysfs code.

While replacing the qeth_l*_*_device_attributes() helpers, switch from
sysfs_*_groups() to the more generic device_*_groups().

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-12-07 06:55:21 -08:00
..
block s390/dasd: fix null pointer dereference for ERP requests 2020-11-16 08:28:02 -07:00
char s390 updates for the 5.10 merge window 2020-10-16 12:36:38 -07:00
cio s390/ccwgroup: use bus->dev_groups for bus-based sysfs attributes 2020-12-07 06:55:21 -08:00
crypto s390/pkey: fix paes selftest failure with paes and pkey static build 2020-11-03 15:12:16 +01:00
net s390/qeth: use dev->groups for common sysfs attributes 2020-12-07 06:55:21 -08:00
scsi s390 updates for the 5.10 merge window 2020-10-16 12:36:38 -07:00
virtio s390/virtio: remove unused pm callbacks 2020-06-16 13:44:04 +02:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00