diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-06-18 10:54:30 (GMT) |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-08-10 09:40:35 (GMT) |
commit | 47d490ea1529633f02209fcb4e89438995375a6f (patch) | |
tree | fe67a5435b19537390e3ee26f271c455bedd0d5d /drivers/clocksource/samsung_pwm_timer.c | |
parent | 9b0af69947562858059b379794b6e94309f367ed (diff) | |
download | linux-47d490ea1529633f02209fcb4e89438995375a6f.tar.xz |
clockevents/drivers/pxa: Migrate to new 'set-state' interface
Migrate pxa 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.
Both oneshot and shutdown modes had exactly same code and so only a
single callback is sufficient now, which will be called for both the
modes.
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'drivers/clocksource/samsung_pwm_timer.c')
0 files changed, 0 insertions, 0 deletions