clockevents/drivers/h8300_timer8: Migrate to new 'set-state' interface
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 27 Jul 2015 09:32:00 +0000 (15:02 +0530)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 10 Aug 2015 09:40:58 +0000 (11:40 +0200)
commitfc2b2f5df6d8dbf78c958a34628a3880150d6c9e
treeec7f1c7f1a6cdcd115c489677b945c0c2ade59b7
parent452b13248fe8499b2d9a487999d3610095aecca5
clockevents/drivers/h8300_timer8: Migrate to new 'set-state' interface

Migrate h8300_timer8 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>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/h8300_timer8.c