]> git.karo-electronics.de Git - linux-beck.git/commit
ARM/iop/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:59:42 +0000 (08:29 +0530)
commit8d778377e598bd78d4ce788b20b1c74777c5d137
treefcc49241c3944ef97447552b1764eaf700436b3b
parent6c724d4388997588f38587213ce1ab7d3925b87c
ARM/iop/time: Migrate to new 'set-state' interface

Migrate iop 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/plat-iop/time.c