diff options
author | Uwe Kleine-König <[email protected]> | 2023-07-19 21:20:13 +0200 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2023-07-28 09:34:44 +0200 |
commit | 28a1dadc49e2902d0a7a2e8c699a15f93b1b6f40 (patch) | |
tree | 616edc39595c5a329194dc2e94865ba1cc3c1c96 /tools/perf/scripts | |
parent | 9a6ac822a2153d583b0da95b8693e954b5f4203a (diff) |
pwm: atmel-tcb: Don't track polarity in driver data
struct atmel_tcb_pwm_device::polarity is only used in atmel_tcb_pwm_enable
and atmel_tcb_pwm_disable(). These functions are only called by
atmel_tcb_pwm_apply() after the member variable was assigned to
state->polarity. So the value assigned in atmel_tcb_pwm_request() is
never used and the member can be dropped from struct atmel_tcb_pwm_device.
Signed-off-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Claudiu Beznea <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions