diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2012-07-02 21:32:33 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-07-23 13:23:59 +0200 |
commit | abeaf75527386adea831914579f0b8711287d3f8 (patch) | |
tree | 799677b82c6b7e811f8edc099382011f499dbce3 /drivers/pwm/pwm-bfin.c | |
parent | 45b301d2b188af6db332cbb14c36e20b5204223e (diff) |
pwm: pxa: Propagate pwmchip_remove() error
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>
Diffstat (limited to 'drivers/pwm/pwm-bfin.c')
0 files changed, 0 insertions, 0 deletions