]> www.infradead.org Git - users/hch/block.git/commit
mmc: block: let device_add_disk create disk attributes
authorChristoph Hellwig <hch@lst.de>
Sun, 25 Jul 2021 08:06:01 +0000 (10:06 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 4 Aug 2021 10:16:15 +0000 (12:16 +0200)
commit0a62e4ddb51eef455526c55f28cd5bb8cb665dd0
tree5019546ba3c843ecee06a4935784bab34314bc6f
parent2bc1f6e442eec88fa60f1ee6bef2c9871227cf8a
mmc: block: let device_add_disk create disk attributes

Pass the attribute group for the attributes on the gendisk to
device_add_disk so that they are created atomically with the
disk creation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/mmc/core/block.c