diff options
author | Martin Blumenstingl <[email protected]> | 2019-06-12 21:59:02 +0200 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2019-06-26 11:39:08 +0200 |
commit | b79c3670e120c6c6aee313c56acd9bbb13db310f (patch) | |
tree | 3459bebd4bd0b6a943a4976164f8d339d82d32d4 /scripts/gdb/linux/timerlist.py | |
parent | 33cefd84d26b59e071b3172b0e3ca979163f39eb (diff) |
pwm: meson: Don't duplicate the polarity internally
Let meson_pwm_calc() use the polarity from struct pwm_state directly.
This removes a level of indirection where meson_pwm_apply() first had to
set a driver-internal inverter mask which was then only used by
meson_pwm_calc().
Instead of adding the polarity as parameter to meson_pwm_calc() switch
to struct pwm_state directly to make it easier to see where the
parameters are actually coming from.
Reviewed-by: Neil Armstrong <[email protected]>
Signed-off-by: Martin Blumenstingl <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions