pwm: mtk-disp: Don't check the return code of pwmchip_remove()
stable inclusion from stable-v5.10.180 commit 060bd30bf70515bd862c6a384de077f0afdcc869 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8FC2O Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=060bd30bf70515bd862c6a384de077f0afdcc869 -------------------------------- [ Upstream commit 9b7b5736 ] pwmchip_remove() returns always 0. Don't use the value to make it possible to eventually change the function to return void. Also the driver core ignores the return value of mtk_disp_pwm_remove(). Signed-off-by:Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by:
Thierry Reding <thierry.reding@gmail.com> Stable-dep-of: 36dd7f53 ("pwm: mtk-disp: Disable shadow registers before setting backlight values") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment