Skip to contentSkip to conversation

spi/qspi: fix multiple "unregister" api entries.

PATCH Applied Sourav Poddar 2 participants 2 messages Nov 19, 2013 1 message not in the archive SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi/qspi: fix multiple "unregister" api entries.

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

---
- Developed on fix/qspi.

 drivers/spi/spi-ti-qspi.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/spi/spi-ti-qspi.c +0 -2
index 8083249..eec97db 100644
@@ -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);
 
Signature · 6 lines
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