summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2021-02-23 12:28:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-11 16:04:59 +0300
commit1bf6a186c4524e62c4e46d2c9f28a70fb45f9e8b (patch)
tree4c5d80cb3cc8c67ce9534dd8675060134cf2b6a5 /drivers/clk
parente21a0a2a46c61036e460ff2986d2f08c09a6092b (diff)
downloadlinux-1bf6a186c4524e62c4e46d2c9f28a70fb45f9e8b.tar.xz
block: genhd: add 'groups' argument to device_add_disk
commit fef912bf860e8e7e48a2bfb978a356bba743a8b7 upstream. 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> Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions