projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b4003a
)
spi/clps711x: drop clk_put for devm_clk_get in spi_clps711x_probe()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Fri, 27 Sep 2013 08:21:30 +0000
(16:21 +0800)
committer
Mark Brown
<broonie@linaro.org>
Fri, 27 Sep 2013 09:49:09 +0000
(10:49 +0100)
devm_clk_get() is used so there is no reason to explicitly
call clk_put() in probe or remove functions.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-clps711x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-clps711x.c
b/drivers/spi/spi-clps711x.c
index b597a92565dc7e99f6d466de8788ebac92319af1..6416798828e72bc9f5194282f55cf49a37f6809c 100644
(file)
--- a/
drivers/spi/spi-clps711x.c
+++ b/
drivers/spi/spi-clps711x.c
@@
-226,7
+226,6
@@
static int spi_clps711x_probe(struct platform_device *pdev)
dev_name(&pdev->dev), hw);
if (ret) {
dev_err(&pdev->dev, "Can't request IRQ\n");
- clk_put(hw->spi_clk);
goto clk_out;
}