linux/drivers/memstick/core
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 memstick: add support for legacy memorysticks 2013-09-11 15:59:35 -07:00
Makefile memstick: add support for legacy memorysticks 2013-09-11 15:59:35 -07:00
memstick.c drivers/memstick/core/memstick.c: avoid -Wnonnull warning 2017-01-24 16:26:14 -08:00
ms_block.c block: genhd: add 'groups' argument to device_add_disk 2018-09-28 08:30:28 -06:00
ms_block.h memstick: trivial fix of spelling mistake on management 2016-04-28 10:58:33 +02:00
mspro_block.c block: genhd: add 'groups' argument to device_add_disk 2018-09-28 08:30:28 -06:00