msm: pil-q6v3: Migrate to devm_clk_get()
This also fixes a missing clk_put() in this driver. Luckily on
MSM clk_put() does nothing.
Change-Id: I4203afeaf04650341125f9530d821e9e80dc894e
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
diff --git a/arch/arm/mach-msm/pil-q6v3.c b/arch/arm/mach-msm/pil-q6v3.c
index 235d881..28b9dee 100644
--- a/arch/arm/mach-msm/pil-q6v3.c
+++ b/arch/arm/mach-msm/pil-q6v3.c
@@ -221,7 +221,7 @@
if (!drv)
return -ENOMEM;
- drv->pll = clk_get(&pdev->dev, "pll4");
+ drv->pll = devm_clk_get(&pdev->dev, "pll4");
if (IS_ERR(drv->pll))
return PTR_ERR(drv->pll);