ARM/smp_twd: Migrate to new 'set-state' interface
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 27 Feb 2015 08:09:52 +0000 (13:39 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 17 Jul 2015 02:52:11 +0000 (08:22 +0530)
commit5e2535710ee3fa2807406ea75eb4381f85b29b0b
tree9f848aa70bd7f44bd9ea540b5ce310e80ff44e2d
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
ARM/smp_twd: Migrate to new 'set-state' interface

Migrate smp_twd 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: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
arch/arm/kernel/smp_twd.c