clockevents/drivers/vf_pit: Migrate to new 'set-state' interface
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 18 Jun 2015 10:54:53 +0000 (16:24 +0530)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 10 Aug 2015 09:40:50 +0000 (11:40 +0200)
commit9552a6af8c807ab547c053399b40bd05781fa0a8
treedb03ba564afd9078b21e067c52eee0faeb1e25db
parent8ff8fc13bdd4f1474720669042fccfbf304638f1
clockevents/drivers/vf_pit: Migrate to new 'set-state' interface

Migrate vf_pit 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: Jingchang Lu <b35083@freescale.com>
Cc: Stefan Agner <stefan@agner.ch>
Cc: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Stefan Agner <stefan@agner.ch>
drivers/clocksource/vf_pit_timer.c