aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/pwm/pwm-img.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-11-18 11:46:44 +0100
committerThierry Reding <thierry.reding@gmail.com>2022-02-02 17:05:19 +0100
commitb23fd25ec8f1c691e5190b122079b9f498a1593a (patch)
treea9566188f46150a936113332cd1b2b8ded55a3e2 /drivers/pwm/pwm-img.c
parentpwm: lpc18xx-sct: Simplify driver by not using pwm_[gs]et_chip_data() (diff)
downloadwireguard-linux-b23fd25ec8f1c691e5190b122079b9f498a1593a.tar.xz
wireguard-linux-b23fd25ec8f1c691e5190b122079b9f498a1593a.zip
pwm: imx1: Implement .apply callback
To eventually get rid of all legacy drivers convert this driver to the modern world implementing .apply(). This just pushes down a slightly optimized variant of how legacy drivers are handled in the core. As a side effect this improves the behaviour for big duty cycles where max * duty_ns overflowed before. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions