diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-02-27 09:09:52 +0100 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2015-07-17 04:54:57 +0200 |
commit | 3200579fafb0400cd098e939ec664638d38e2bc9 (patch) | |
tree | e2f5396d83d3f7c2a7fffeca83f72c6dd33bb103 /arch/arm/mach-imx/devices-imx27.h | |
parent | ARM/gemini/time: Migrate to new 'set-state' interface (diff) | |
download | linux-3200579fafb0400cd098e939ec664638d38e2bc9.tar.xz linux-3200579fafb0400cd098e939ec664638d38e2bc9.zip |
ARM/imx/epit: Migrate to new 'set-state' interface
Migrate imx 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.
Also drop 'clockevent_mode': It was caching the last state of the
clockevent device. The same behavior can be achieved by using
clockevents state helpers. These helpers are only required for oneshot
mode as shutdown/resume wouldn't be done twice by the core.
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/devices-imx27.h')
0 files changed, 0 insertions, 0 deletions