There are multiple instances of "unregister" api in remove path, which
came in while rebasing. Remove the unappropriate one.

Signed-off-by: Sourav Poddar <[email protected]>
---
- Developed on fix/qspi.
 drivers/spi/spi-ti-qspi.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/spi/spi-ti-qspi.c b/drivers/spi/spi-ti-qspi.c
index 8083249..eec97db 100644
--- a/drivers/spi/spi-ti-qspi.c
+++ b/drivers/spi/spi-ti-qspi.c
@@ -557,8 +557,6 @@ static int ti_qspi_remove(struct platform_device *pdev)
                return ret;
        }
 
-       spi_unregister_master(qspi->master);
-
        pm_runtime_put(qspi->dev);
        pm_runtime_disable(&pdev->dev);
 
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to