ARM/omap1/timer32: 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:58:39 +0000 (08:28 +0530)
commit69ec063f6018b5931974e7c4ac7a24b1a075ca25
tree762e9b122bad101f9c71fc74bfa5b40c3f3b097c
parent29105e102085a9c1a1eea4f634db2890aca884b8
ARM/omap1/timer32: Migrate to new 'set-state' interface

Migrate omap timer32 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/timer32k.c