diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2013-04-25 16:31:50 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2013-05-16 05:09:18 -0400 |
commit | 03e13cf5ee60584fe0c831682c67212effb7fca4 (patch) | |
tree | b40a9a0a88a675e4511ad6b6c0bf072b6a1ef9f4 /block/deadline-iosched.c | |
parent | 45cb8e01b2ecef1c2afb18333e95793fa1a90281 (diff) |
clockevents: Implement unbind functionality
Provide a sysfs interface to allow unbinding of clockevent
devices. The device is unbound if it is unused or if there is a
replacement device available. Unbinding of broadcast devices is not
supported as we don't want to foster that nonsense. If no replacement
device is available the unbind returns -EBUSY. Unbind is available
from the kernel and through sysfs, which is necessary to drop the
module refcount.
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.499216659@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'block/deadline-iosched.c')
0 files changed, 0 insertions, 0 deletions