]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf33074a3fc11a71042acff7f84f6a1b35e4a4b5f
treeec7f1c7f1a6cdcd115c489677b945c0c2ade59b7
parentd0e261f54a07ee28d831f03093b7eafa318d9e90
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