aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-imx27.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2019-10-24 07:14:09 +0000
committerThierry Reding <[email protected]>2020-01-20 11:21:49 +0000
commitbca900829d6035a782d8209c834400ed44539c1d (patch)
treee20a96768c4acf3ab45029eceb391b12b3eb1c32 /drivers/pwm/pwm-imx27.c
parentpwm: Fix minor Kconfig whitespace issues (diff)
downloadkernel-bca900829d6035a782d8209c834400ed44539c1d.tar.gz
kernel-bca900829d6035a782d8209c834400ed44539c1d.zip
pwm: rcar: Drop useless call to pwm_get_state()
pwm_get_state has no side effects and the resulting pwm_state is unused. So drop the call to pwm_get_state() and the local variable from rcar_pwm_apply(). The call was introduced in commit 7f68ce8287d3 ("pwm: rcar: Add support "atomic" API") and already then was useless. Signed-off-by: Uwe Kleine-König <[email protected]> Reviewed-by: Yoshihiro Shimoda <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-imx27.c')
0 files changed, 0 insertions, 0 deletions