diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2021-03-16 10:45:13 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-16 15:31:00 +0100 |
commit | 1987c55139c9ebe1bed48490c49cfe266cd35ac8 (patch) | |
tree | a8d5ec8861b73cac41244649333c4043c520619b /drivers/s390/block/dasd_eckd.c | |
parent | s390/dasd: remove dasd_fba_probe() wrapper (diff) | |
download | linux-1987c55139c9ebe1bed48490c49cfe266cd35ac8.tar.xz linux-1987c55139c9ebe1bed48490c49cfe266cd35ac8.zip |
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>
Diffstat (limited to 'drivers/s390/block/dasd_eckd.c')
-rw-r--r-- | drivers/s390/block/dasd_eckd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c index 65eb87cbbb9b..a6ac505cbdd7 100644 --- a/drivers/s390/block/dasd_eckd.c +++ b/drivers/s390/block/dasd_eckd.c @@ -6630,6 +6630,7 @@ static struct ccw_driver dasd_eckd_driver = { .driver = { .name = "dasd-eckd", .owner = THIS_MODULE, + .dev_groups = dasd_dev_groups, }, .ids = dasd_eckd_ids, .probe = dasd_eckd_probe, |