pwm: pwm-mxs: Return proper error if pwmchip_remove() fails
authorAxel Lin <axel.lin@gmail.com>
Sun, 1 Jul 2012 04:58:00 +0000 (12:58 +0800)
committerThierry Reding <thierry.reding@avionic-design.de>
Mon, 23 Jul 2012 11:24:01 +0000 (13:24 +0200)
commit457fd768ee1f7c78e85dfbe86329e6b24eb36514
tree06893810db1a720a0667b1315975bcd5b8c60bd9
parentb50675dcc3402ea456a1d59855260fcfd800fb40
pwm: pwm-mxs: Return proper error if pwmchip_remove() fails

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/pwm/pwm-mxs.c