pwm: Switch to the atomic API
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 14 Apr 2016 19:17:43 +0000 (21:17 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 17 May 2016 12:48:04 +0000 (14:48 +0200)
commit39100ceea79ff2efeb2fb094baf120c73d5ccf47
tree514b770fcf46d7bc675abc44c947fc1e79ba42ea
parenta07136fdcf12281781142caf1f78c6696721accd
pwm: Switch to the atomic API

Replace legacy pwm_get/set_xxx() and pwm_config/enable/disable() calls
by pwm_get/apply_state().

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/core.c
drivers/pwm/sysfs.c