ARM/ks8695/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:55:49 +0000 (08:25 +0530)
commit7cfa3c69ca97acfd7cac19652d82aa610015bab8
tree02b0ced9daa3b98382f67cc9ca431a19fdd0e3ec
parentcea50eeef15c8498181c4a1ff804a7cdef29aebb
ARM/ks8695/time: Migrate to new 'set-state' interface

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

There is nothing to be done for oneshot or shutdown states and so are
not implemented.

Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
arch/arm/mach-ks8695/time.c