aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-atmel.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2020-12-07 13:45:56 +0000
committerThierry Reding <[email protected]>2021-03-22 11:31:32 +0000
commit9666cec380d60808eb86d3be4caf84faeebe3081 (patch)
treeb446d6966905c9c7bcffc2e444ac84da990b4e14 /drivers/pwm/pwm-atmel.c
parentpwm: atmel-hlcdc: Use pwmchip_add() instead of pwmchip_add_with_polarity() (diff)
downloadkernel-9666cec380d60808eb86d3be4caf84faeebe3081.tar.gz
kernel-9666cec380d60808eb86d3be4caf84faeebe3081.zip
pwm: Drop function pwmchip_add_with_polarity()
pwmchip_add() only calls pwmchip_add_with_polarity() and nothing else. All other users of pwmchip_add_with_polarity() are gone. So drop pwmchip_add_with_polarity() and move the code instead to pwmchip_add(). The initial assignment to pwm->state.polarity is dropped. In every correct usage of the PWM API this value is overwritten later anyhow. 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