clockevents/drivers/arm_arch_timer: Migrate to new 'set-state' interface
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 12 Jun 2015 08:00:12 +0000 (13:30 +0530)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 6 Aug 2015 10:16:41 +0000 (12:16 +0200)
commit46c5bfdda3de91ba4324d73403af7dfb60f5ee38
tree54e07ca5a9c778566510655270d78f09779ccf8f
parentd74892c5b291c0010295d26d6b1e11cd70451722
clockevents/drivers/arm_arch_timer: Migrate to new 'set-state' interface

Migrate arm_arch_timer driver to the new 'set-state' interface provided
by the 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: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/arm_arch_timer.c