]> git.karo-electronics.de Git - linux-beck.git/commit
pwm: twl: Return proper error if twl6030_pwm_enable() fails
authorAxel Lin <axel.lin@ingics.com>
Sun, 31 Mar 2013 15:07:30 +0000 (23:07 +0800)
committerThierry Reding <thierry.reding@avionic-design.de>
Tue, 2 Apr 2013 09:32:14 +0000 (11:32 +0200)
commitc8e4df3109646762f21c6e288187ec395fdf67be
tree31960bafce8e9d0ae457cf8ce6fe6e9b4e9a62df
parentb014a30c5991e67aa90b6ff9bd4ec16435bbcefd
pwm: twl: Return proper error if twl6030_pwm_enable() fails

Return proper error instead of 0 if twl6030_pwm_enable() fails.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/pwm/pwm-twl.c