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: NThierry Reding <thierry.reding@avionic-design.de>
Showing
想要评论请 注册 或 登录