ARM/omap1/time: 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:56:24 +0000 (08:26 +0530)
commit29105e102085a9c1a1eea4f634db2890aca884b8
tree7e200df3cb42b96a6f6b32729538057651c82ab4
parentc22437b78e77ae05768d77d44bb5651ac7ef5da9
ARM/omap1/time: Migrate to new 'set-state' interface

Migrate omap 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.

Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
arch/arm/mach-omap1/time.c