summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-sl28cpld.c
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2020-12-05 19:19:24 +0300
committerThierry Reding <thierry.reding@gmail.com>2020-12-17 16:19:01 +0300
commit3df23a316c4a5d1764b034c71c29d67a17d5299f (patch)
tree97cb70337afe23ad5fce41bc8cbc69ea4e2dffcc /drivers/pwm/pwm-sl28cpld.c
parent1ce65396e6b2386b4fd54f87beff0647a772e1cd (diff)
downloadlinux-3df23a316c4a5d1764b034c71c29d67a17d5299f.tar.xz
pwm: Remove unused function pwmchip_add_inversed()
This is only defined with CONFIG_PWM unset and was introduced together with pwmchip_add_with_polarity() (which is only defined with CONFIG_PWM enabled). I guess the series that introduced pwmchip_add_with_polarity() had a different concept in earlier revisions and the !CONFIG_PWM part was just not updated accordingly. Given that there is no implementation for pwmchip_add_with_polarity() without CONFIG_PWM, just drop pwmchip_add_inversed() instead of renaming it to pwmchip_add_with_polarity(). Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-sl28cpld.c')
0 files changed, 0 insertions, 0 deletions