0067-spi-qup-Remove-spi_master_put-in-spi_qup_remove.patch 770 B

12345678910111213141516171819202122232425
  1. From c6a3f7bda60cfd78c2b05e8b2ec0fbf0d39da9ea Mon Sep 17 00:00:00 2001
  2. From: Axel Lin <[email protected]>
  3. Date: Fri, 21 Feb 2014 09:33:16 +0800
  4. Subject: [PATCH 067/182] spi: qup: Remove spi_master_put in spi_qup_remove
  5. This driver uses devm_spi_register_master() so don't explicitly call
  6. spi_master_put() in spi_qup_remove().
  7. Signed-off-by: Axel Lin <[email protected]>
  8. Acked-by: Ivan T. Ivanov <[email protected]>
  9. Signed-off-by: Mark Brown <[email protected]>
  10. ---
  11. drivers/spi/spi-qup.c | 1 -
  12. 1 file changed, 1 deletion(-)
  13. --- a/drivers/spi/spi-qup.c
  14. +++ b/drivers/spi/spi-qup.c
  15. @@ -802,7 +802,6 @@ static int spi_qup_remove(struct platfor
  16. pm_runtime_put_noidle(&pdev->dev);
  17. pm_runtime_disable(&pdev->dev);
  18. - spi_master_put(master);
  19. return 0;
  20. }