summaryrefslogtreecommitdiffstats
path: root/kernel/time/tick-broadcast.c
diff options
context:
space:
mode:
authorViresh Kumar2015-07-07 10:14:35 +0200
committerThomas Gleixner2015-07-07 10:44:45 +0200
commit7c4a976cd55972b68c75a978f171b6db5df4ce66 (patch)
tree269c05a4c91fefe5f1e5d10fd21940169c41f9de /kernel/time/tick-broadcast.c
parentclocksource/imx: Define clocksource for mx27 (diff)
downloadkernel-qcow2-linux-7c4a976cd55972b68c75a978f171b6db5df4ce66.tar.gz
kernel-qcow2-linux-7c4a976cd55972b68c75a978f171b6db5df4ce66.tar.xz
kernel-qcow2-linux-7c4a976cd55972b68c75a978f171b6db5df4ce66.zip
clockevents: Allow set-state callbacks to be optional
Its mandatory for the drivers to provide set_state_{oneshot|periodic}() (only if related modes are supported) and set_state_shutdown() callbacks today, if they are implementing the new set-state interface. But this leads to unnecessary noop callbacks for drivers which don't want to implement them. Over that, it will lead to a full function call for nothing really useful. Lets make all set-state callbacks optional. Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: http://lkml.kernel.org/r/1436256875-15562-1-git-send-email-daniel.lezcano@linaro.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time/tick-broadcast.c')
0 files changed, 0 insertions, 0 deletions