spi: tegra20-slink: remove spi_master_put() in tegra_slink_remove()
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 10 Aug 2021 14:22:30 +0000 (22:22 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 18 Aug 2021 12:57:04 +0000 (13:57 +0100)
commit02cea7039ad52593ee05824c19233366914df9b2
treece436a9f43c2dbd561754a9dd026b4ad1d28d6bc
parent0b89fc0a367edab09065af722894d186bd0ccb0d
spi: tegra20-slink: remove spi_master_put() in tegra_slink_remove()

spi_master_put() is already called in spi_unregister_master(), or it
will lead a double decrement refcount.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20210810142230.2220453-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-tegra20-slink.c