]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pwm: atmel-hlcdc: Convert to the atomic PWM API
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 1 Mar 2017 14:48:51 +0000 (15:48 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 6 Apr 2017 14:12:52 +0000 (16:12 +0200)
commit2267517cd3ee4a1b02c7b9fead051c9d079c9fc3
tree549bd2ae24ba06ae6bf9858a8336d2c0a7110681
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
pwm: atmel-hlcdc: Convert to the atomic PWM API

Implement the ->apply() hook and drop the ->enable(), ->disable,
->set_polarity and ->config() ones.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-atmel-hlcdc.c