]> git.baikalelectronics.ru Git - kernel.git/commit
clockevents/drivers/u300: Migrate to new 'set-state' interface
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 18 Jun 2015 10:54:52 +0000 (16:24 +0530)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 10 Aug 2015 09:40:49 +0000 (11:40 +0200)
commit0bef39df3940b18f6d66ba5012f11fa80255089b
treeab78e0696c23c32df200b322eea77544bb9ef554
parent7f0e15dc5a32608dad6f5dbd1c0e734d22099c21
clockevents/drivers/u300: Migrate to new 'set-state' interface

Migrate u300 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: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/clocksource/timer-u300.c