Date:2013-04-28 14:46:46 (10 years 11 months ago)
Author:Lars C.
Commit:e2a4f80c6933dd4b5eff389b6edf7f9e2648bdfb
Message:pwm: jz4740: Pass device to clk_get

In preparation to switching the jz4740 clk driver to the common clk framework
make sure to pass the device to clk_get().

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Files: drivers/pwm/pwm-jz4740.c (1 diff)

Change Details

drivers/pwm/pwm-jz4740.c
171171    if (!jz4740)
172172        return -ENOMEM;
173173
174    jz4740->clk = clk_get(NULL, "ext");
174    jz4740->clk = clk_get(&pdev->dev, "ext");
175175    if (IS_ERR(jz4740->clk))
176176        return PTR_ERR(jz4740->clk);
177177

Archive Download the corresponding diff file



interactive