diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-02-21 09:33:16 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-23 12:28:18 +0900 |
commit | 81b045fe72f957ad24ab97f999ea8ca14359d941 (patch) | |
tree | f1956de1d0d3dda5049729fc96f2a2f27a5fe9e1 /drivers/spi/spi-qup.c | |
parent | 64ff247a978facc437d40f0c9b754675846a98f0 (diff) |
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/spi-qup.c')
-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 b0bcc09425a7..5edc56f5c887 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; } |