From: Thomas Gleixner Date: Thu, 25 Apr 2013 20:31:50 +0000 (+0000) Subject: clockevents: Implement unbind functionality X-Git-Tag: v3.11-rc1~77^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03e13cf5ee60584fe0c831682c67212effb7fca4;p=pandora-kernel.git 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 Cc: John Stultz Cc: Magnus Damm Link: http://lkml.kernel.org/r/20130425143436.499216659@linutronix.de Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed