diff options
author | Christoph Hellwig <hch@lst.de> | 2020-11-10 07:25:37 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-01 14:53:39 -0700 |
commit | efdc41c8d49fc1ff9bbef8f68f1cf1d8d59164a1 (patch) | |
tree | a763613547ca892e966fe8b4ec6733df1987b508 /sound | |
parent | e79319af6d8cfd7311fef1bfbb1c59c94e6e10a9 (diff) | |
download | linux-efdc41c8d49fc1ff9bbef8f68f1cf1d8d59164a1.tar.bz2 |
block: use put_device in put_disk
Use put_device to put the device instead of poking into the internals
and using kobject_put.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions