diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-09-27 16:21:30 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-27 10:49:09 +0100 |
commit | 0158026ccced1ae312233a6a46dc0b6edce3fb6c (patch) | |
tree | f95e73747e5f3ec29c47c0f54c996dd0436bf2f6 | |
parent | 9b4003a687abcf2fe25ba9073dd07345e4529183 (diff) | |
download | linux-0158026ccced1ae312233a6a46dc0b6edce3fb6c.tar.gz linux-0158026ccced1ae312233a6a46dc0b6edce3fb6c.tar.xz |
spi/clps711x: drop clk_put for devm_clk_get in spi_clps711x_probe()
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>
-rw-r--r-- | drivers/spi/spi-clps711x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-clps711x.c b/drivers/spi/spi-clps711x.c index b597a92565dc..6416798828e7 100644 --- 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; } |