linux/drivers/block/mtip32xx
Hannes Reinecke fef912bf86 block: genhd: add 'groups' argument to device_add_disk
Update device_add_disk() to take an 'groups' argument so that
individual drivers can register a device with additional sysfs
attributes.
This avoids race condition the driver would otherwise have if these
groups were to be created with sysfs_add_groups().

Signed-off-by: Martin Wilck <martin.wilck@suse.com>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-09-28 08:30:28 -06:00
..
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile block: Add driver for Micron RealSSD pcie flash cards 2011-11-05 08:35:10 +01:00
mtip32xx.c block: genhd: add 'groups' argument to device_add_disk 2018-09-28 08:30:28 -06:00
mtip32xx.h mtip32xx: avoid to read HOST_CAP from HW in .queue_rq() 2017-07-05 12:11:26 -06:00