OSDN Git Service

s390/dasd: let driver core manage the sysfs attributes
authorJulian Wiedmann <jwi@linux.ibm.com>
Tue, 16 Mar 2021 09:45:13 +0000 (10:45 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 16 Mar 2021 14:31:00 +0000 (08:31 -0600)
commit1987c55139c9ebe1bed48490c49cfe266cd35ac8
treea8d5ec8861b73cac41244649333c4043c520619b
parent86f0a011e548774fd8eb952f67bfeb19f3174dd0
s390/dasd: let driver core manage the sysfs attributes

Wire up device_driver->dev_groups, so that really_probe() creates the
sysfs attributes for us automatically.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Link: https://lore.kernel.org/r/20210316094513.2601218-3-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/s390/block/dasd.c
drivers/s390/block/dasd_devmap.c
drivers/s390/block/dasd_eckd.c
drivers/s390/block/dasd_fba.c
drivers/s390/block/dasd_int.h