aboutsummaryrefslogtreecommitdiff
path: root/kernel/time/clockevents.c
diff options
context:
space:
mode:
authorGravatar Thomas Gleixner <tglx@linutronix.de> 2013-04-25 20:31:46 +0000
committerGravatar Thomas Gleixner <tglx@linutronix.de> 2013-05-16 11:09:16 +0200
commita89c7edbe7d7aa80f507915f3dd801211b116b79 (patch)
tree9981bee7be59b28979438fc2701228874856607b /kernel/time/clockevents.c
parentclocksource: Provide unbind interface in sysfs (diff)
downloadlinux-a89c7edbe7d7aa80f507915f3dd801211b116b79.tar.gz
linux-a89c7edbe7d7aa80f507915f3dd801211b116b79.tar.bz2
linux-a89c7edbe7d7aa80f507915f3dd801211b116b79.zip
clocksource: Let clocksource_unregister() return success/error
The unregister call can fail, if the clocksource is the current one and there is no replacement clocksource available. It can also fail, if the clocksource is the watchdog clocksource and I'm not going to provide support for this. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: John Stultz <john.stultz@linaro.org> Cc: Magnus Damm <magnus.damm@gmail.com> Link: http://lkml.kernel.org/r/20130425143436.029915527@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time/clockevents.c')
0 files changed, 0 insertions, 0 deletions