ARC/time: Migrate to new 'set-state' interface
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 16 Jul 2015 11:26:14 +0000 (16:56 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 20 Jul 2015 10:30:31 +0000 (13:30 +0300)
commitaeec6cdad6cda5fdf26f937c0d15f101539d8185
treeea178bd7d883e1ab26492350d025f3ff82ae9e73
parent52721d9d3334c1cb1f76219a161084094ec634dc
ARC/time: Migrate to new 'set-state' interface

Migrate arc 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: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/time.c