clockevents: Provide functions to set and get the state
authorThomas Gleixner <tglx@linutronix.de>
Tue, 2 Jun 2015 12:08:46 +0000 (14:08 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 2 Jun 2015 12:40:47 +0000 (14:40 +0200)
commitd7eb231c71420bc34ac3d35403115600f920cfc2
tree6368b8933cfa40786ecea7afa7999b0390f333dd
parent472c4a9437d3c6a0b1e59df7c5aa14075946aa70
clockevents: Provide functions to set and get the state

We want to rename dev->state, so provide proper get and set
functions. Rename clockevents_set_state() to
clockevents_switch_state() to avoid confusion.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
kernel/time/clockevents.c
kernel/time/tick-broadcast.c
kernel/time/tick-common.c
kernel/time/tick-internal.h
kernel/time/tick-oneshot.c