Date:2013-04-28 14:46:46 (10 years 11 months ago)
Author:Lars C.
Commit:29f864c782291a22045fa12a90c58e6966f7bd83
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