clockevents/drivers/samsung_pwm: Migrate to new 'set-state' interface
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 18 Jun 2015 10:54:33 +0000 (16:24 +0530)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 10 Aug 2015 09:40:37 +0000 (11:40 +0200)
commitb49b570474490bad8ee5289b103563d978f20a7e
tree6e7d1daee1a88d982e036c7c16ac676e8ad2da38
parent99b3fa72efc545a7e21955c17f6a2f6f87dfacde
clockevents/drivers/samsung_pwm: Migrate to new 'set-state' interface

Migrate samsung_pwm driver to the new 'set-state' interface provided by
clockevents core, the earlier 'set-mode' interface is marked obsolete
now.

This also enables us to implement callbacks for new states of clockevent
devices, for example: ONESHOT_STOPPED.

Cc: Tomasz Figa <tfiga@chromium.org>
Cc: Kukjin Kim <kgene@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/samsung_pwm_timer.c