diff options
| author | Uwe Kleine-König <[email protected]> | 2020-12-07 13:45:55 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2021-03-22 11:19:08 +0000 |
| commit | 965ebe39c953a8248a45413c25833621529da03c (patch) | |
| tree | f1f0faa8a2f8fe9060ef109c971a8e29932abd3e /drivers/pwm/pwm-atmel.c | |
| parent | pwm: bcm-kona: Use pwmchip_add() instead of pwmchip_add_with_polarity() (diff) | |
| download | kernel-965ebe39c953a8248a45413c25833621529da03c.tar.gz kernel-965ebe39c953a8248a45413c25833621529da03c.zip | |
pwm: atmel-hlcdc: Use pwmchip_add() instead of pwmchip_add_with_polarity()
The only side effect of this change is that pwm->state.polarity is
initialized to PWM_POLARITY_NORMAL instead of PWM_POLARITY_INVERSED.
However all other members of pwm->state are uninitialized and consumers
are expected to provide the right polarity (either by setting it explicitly
or by using a helper like pwm_init_state() that overwrites .polarity
anyhow with a value independent of the initial value).
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-atmel.c')
0 files changed, 0 insertions, 0 deletions
