decf585fd7b678c5f1f8553877894b60959b14a8
[openwrt/openwrt.git] / target / linux / ipq806x / patches / 0067-spi-qup-Remove-spi_master_put-in-spi_qup_remove.patch
1 From c6a3f7bda60cfd78c2b05e8b2ec0fbf0d39da9ea Mon Sep 17 00:00:00 2001
2 From: Axel Lin <axel.lin@ingics.com>
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
6 This driver uses devm_spi_register_master() so don't explicitly call
7 spi_master_put() in spi_qup_remove().
8
9 Signed-off-by: Axel Lin <axel.lin@ingics.com>
10 Acked-by: Ivan T. Ivanov <iivanov@mm-sol.com>
11 Signed-off-by: Mark Brown <broonie@linaro.org>
12 ---
13 drivers/spi/spi-qup.c | 1 -
14 1 file changed, 1 deletion(-)
15
16 diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c
17 index b0bcc09..5edc56f 100644
18 --- a/drivers/spi/spi-qup.c
19 +++ b/drivers/spi/spi-qup.c
20 @@ -802,7 +802,6 @@ static int spi_qup_remove(struct platform_device *pdev)
21
22 pm_runtime_put_noidle(&pdev->dev);
23 pm_runtime_disable(&pdev->dev);
24 - spi_master_put(master);
25 return 0;
26 }
27
28 --
29 1.7.10.4
30