[PATCH 15/45] block: use put_device in put_disk

Tejun Heo tj at kernel.org
Tue Nov 24 12:37:58 EST 2020


On Tue, Nov 24, 2020 at 02:27:21PM +0100, Christoph Hellwig wrote:
> Use put_device to put the device instead of poking into the internals
> and using kobject_put.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Reviewed-by: Jan Kara <jack at suse.cz>
> Reviewed-by: Johannes Thumshirn <johannes.thumshirn at wdc.com>

Acked-by: Tejun Heo <tj at kernel.org>

-- 
tejun



More information about the linux-mtd mailing list