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