aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2019-08-24 15:37:02 +0000
committerThierry Reding <[email protected]>2019-09-20 23:48:54 +0000
commitfc3c5512e337bdb8b019883ea9078bbccc00c4e9 (patch)
tree9e1c0b6e518247516c65a36b159954df65280d86 /drivers/pwm/pwm-stm32.c
parentpwm: rockchip: Set polarity unconditionally in .get_state() (diff)
downloadkernel-fc3c5512e337bdb8b019883ea9078bbccc00c4e9.tar.gz
kernel-fc3c5512e337bdb8b019883ea9078bbccc00c4e9.zip
pwm: Introduce local struct pwm_chip in pwm_apply_state()
pwm->chip is dereferenced several times in the pwm_apply_state() function. Introducing a local variable for it helps keeping some lines a bit shorter. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions