s390/stp: let subsys_system_register() sysfs attributes
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 11 Nov 2020 07:13:14 +0000 (08:13 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 20 Nov 2020 18:19:11 +0000 (19:19 +0100)
commit074ff04e279ab8a3f97fefd1b8a313b1e4f04e9b
tree14b3e8d699f7e94eb6d9af34932c5d220a2e48e1
parentba1a6be994e8444baf23c14d7be045811197ccb3
s390/stp: let subsys_system_register() sysfs attributes

Instead of creating the sysfs attributes for the stp root_dev by hand,
pass them to subsys_system_register() as parameter.

This also ensures that the attributes are available when the KOBJ_ADD
event is raised.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/time.c