diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-02-27 11:09:52 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2015-07-17 05:56:21 +0300 |
commit | a785fb39e1b7070da5d53a7d09b140c80c31974e (patch) | |
tree | 295ae349bcf1c5975b67ad31c632f35d5ba82eb4 /arch/arm/mach-netx/time.c | |
parent | 9325a3a896b611454f6ab3dcedf69c5799dd5617 (diff) | |
download | linux-a785fb39e1b7070da5d53a7d09b140c80c31974e.tar.xz |
ARM/mmp/time: Migrate to new 'set-state' interface
Migrate mmp 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.
We weren't doing anything in set_mode(RESUME) except of
local_irq_{save|restore}(), which isn't required and so ->tick_resume
isn't implemented.
Cc: Eric Miao <eric.y.miao@gmail.com>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'arch/arm/mach-netx/time.c')
0 files changed, 0 insertions, 0 deletions