s390/ap: let bus_register() add the AP bus sysfs attributes
authorJulian Wiedmann <jwi@linux.ibm.com>
Mon, 9 Nov 2020 13:41:07 +0000 (14:41 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 30 Nov 2020 13:10:50 +0000 (14:10 +0100)
commit8cb4c20f32f542f78a57e1c6464721526d046acc
treeee9bf6e3085ee28f62d46de19995d40233c2f607
parent1ab3001b6efb78e0293f3f02307720f6094db1ae
s390/ap: let bus_register() add the AP bus sysfs attributes

Instead of creating the sysfs attributes for the AP bus by hand,
describe them in .bus_groups and let the driver core handle it.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-my: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/crypto/ap_bus.c