hexagon/time: Migrate to new 'set-state' interface
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 16 Jul 2015 11:26:19 +0000 (16:56 +0530)
committerRichard Kuo <rkuo@codeaurora.org>
Tue, 8 Sep 2015 23:43:17 +0000 (18:43 -0500)
commitd70e22d5bcf700a53881acad71a6c669be6eec93
tree39de12eeef6c42119db1791b997e627fdef46bce
parent64291f7db5bd8150a74ad2036f1037e6a0428df2
hexagon/time: Migrate to new 'set-state' interface

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

We weren't doing anything in the ->set_mode() callback. So, this patch
doesn't provide any set-state callbacks.

Cc: linux-hexagon@vger.kernel.org
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/kernel/time.c