diff options
| author | Uwe Kleine-König <[email protected]> | 2019-08-24 15:37:02 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2019-09-20 23:48:54 +0000 |
| commit | fc3c5512e337bdb8b019883ea9078bbccc00c4e9 (patch) | |
| tree | 9e1c0b6e518247516c65a36b159954df65280d86 /drivers/pwm/pwm-stm32.c | |
| parent | pwm: rockchip: Set polarity unconditionally in .get_state() (diff) | |
| download | kernel-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
