diff options
author | 2019-02-22 05:46:16 +0000 | |
---|---|---|
committer | 2019-02-22 15:17:43 +0000 | |
commit | 049e5feae18fe07df0687dc14582f338dde3fb56 (patch) | |
tree | 30f4a47552d4067ac64de14406598f40ec69a4a3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'for-5.0' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi into spi-5.1 (diff) | |
download | wireguard-linux-049e5feae18fe07df0687dc14582f338dde3fb56.tar.xz wireguard-linux-049e5feae18fe07df0687dc14582f338dde3fb56.zip |
spi: sifive: Remove spi_master_put in sifive_spi_remove()
The call to spi_master_put() in sifive_spi_remove() is redundant since
the master is registered using devm_spi_register_master() and no
reference hold by using spi_master_get() in sifive_spi_remove().
This is detected by Coccinelle semantic patch.
Fixes: 484a9a68d669 ("spi: sifive: Add driver for the SiFive SPI controller")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions