diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-07-16 16:56:25 +0530 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-08-10 11:41:02 +0200 |
commit | 37a13e78e017c31fbb98a148b54c2552dc08d788 (patch) | |
tree | fb96bf256c0db94fb0c94f1d8d5ada4291ab0c5e /arch/score/kernel/time.c | |
parent | 00c5a0acd11ec157585d290469b6c82ddd816663 (diff) | |
download | linux-37a13e78e017c31fbb98a148b54c2552dc08d788.tar.gz linux-37a13e78e017c31fbb98a148b54c2552dc08d788.tar.bz2 linux-37a13e78e017c31fbb98a148b54c2552dc08d788.zip |
powerpc/time: Migrate to new 'set-state' interface
Migrate powerpc 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(ONSHOT) and so
set_state_oneshot() isn't implemented.
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'arch/score/kernel/time.c')
0 files changed, 0 insertions, 0 deletions