diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-02-21 01:33:16 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-23 03:28:18 (GMT) |
commit | 81b045fe72f957ad24ab97f999ea8ca14359d941 (patch) | |
tree | f1956de1d0d3dda5049729fc96f2a2f27a5fe9e1 /drivers/spi | |
parent | 64ff247a978facc437d40f0c9b754675846a98f0 (diff) | |
download | linux-81b045fe72f957ad24ab97f999ea8ca14359d941.tar.xz |
spi: qup: Remove spi_master_put in spi_qup_remove
This driver uses devm_spi_register_master() so don't explicitly call
spi_master_put() in spi_qup_remove().
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-qup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index b0bcc09..5edc56f 100644 --- a/drivers/spi/spi-qup.c +++ b/drivers/spi/spi-qup.c @@ -802,7 +802,6 @@ static int spi_qup_remove(struct platform_device *pdev) pm_runtime_put_noidle(&pdev->dev); pm_runtime_disable(&pdev->dev); - spi_master_put(master); return 0; } |