]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: ep93xx/timer: Migrate to new 'set-state' interface
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 6 Aug 2015 09:11:13 +0000 (14:41 +0530)
committerOlof Johansson <olof@lixom.net>
Thu, 13 Aug 2015 09:23:27 +0000 (11:23 +0200)
commita54868b460b65bd93a5324a7fc35dfd556fe576c
tree16c43b3da99981896d76d048a98925ffa626c02a
parent4f2f1f76dc8c5cb6528d7451de6eacdbf8fb0cbf
ARM: ep93xx/timer: Migrate to new 'set-state' interface

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

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-ep93xx/timer-ep93xx.c