pwm: pxa: Propagate pwmchip_remove() error
authorThierry Reding <thierry.reding@avionic-design.de>
Mon, 2 Jul 2012 19:32:33 +0000 (21:32 +0200)
committerThierry Reding <thierry.reding@avionic-design.de>
Mon, 23 Jul 2012 11:23:59 +0000 (13:23 +0200)
If the pwmchip_remove() call fails, propagate the error to the driver's
remove callback. This is required to prevent the module from being
unloaded if a PWM provided by the driver is still in use.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>

No differences found