ARM/dc21285-timer: 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:56 +0000 (08:22 +0530)
commit947d9cf53f5c9c4dfbbffe68f07dd4d02da2093d
tree58b0823ebfdb0cda8dfb6d194fa4d428a1639414
parentbc660a454f7899f21f2106be1a16e8d006dd2dba
ARM/dc21285-timer: Migrate to new 'set-state' interface

Migrate footbridge 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/mach-footbridge/dc21285-timer.c