[[RFC] 3/5] Expunge old Atmel PWMC driver, replacing it with one that conforms to the PWM API

2009-10-19 Thread Bill Gatliff
Signed-off-by: Bill Gatliff b...@billgatliff.com --- drivers/misc/Makefile|6 +- drivers/misc/atmel_pwm.c | 409 -- drivers/pwm/atmel-pwm.c | 633 ++ 3 files changed, 638 insertions(+), 410 deletions(-) delete

Re: [[RFC] 3/5] Expunge old Atmel PWMC driver, replacing it with one that conforms to the PWM API

2009-10-19 Thread Bill Gatliff
Mike Frysinger wrote: + ap-clk = clk_get(pdev-dev, pwm_clk); + if (IS_ERR(ap-clk)) { + pr_info(%s: clk_get error %ld\n, + ap-pwm.bus_id, PTR_ERR(ap-clk)); + ret = -ENODEV; + goto err_clk_get; shouldnt it be: ret