commit | fc3c5512e337bdb8b019883ea9078bbccc00c4e9 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <uwe@kleine-koenig.org> | Sat Aug 24 17:37:02 2019 +0200 |
committer | Thierry Reding <thierry.reding@gmail.com> | Sat Sep 21 01:48:54 2019 +0200 |
tree | 9e1c0b6e518247516c65a36b159954df65280d86 | |
parent | ba73deb16ff5b2d70b1ffc025c84c1126aad7fea [diff] |
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 <uwe@kleine-koenig.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>