From: Thomas Gleixner Date: Thu, 25 Apr 2013 20:31:44 +0000 (+0000) Subject: clocksource: Let timekeeping_notify return success/error X-Git-Tag: v3.11-rc1~77^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba919d1caa2e624eb8c6cae1f2ce0a253e697d45;p=pandora-kernel.git clocksource: Let timekeeping_notify return success/error timekeeping_notify() can fail due cs->enable() failure. Though the caller does not notice and happily keeps the wrong clocksource as the current one. Let the caller know about failure, so the current clocksource will be shown correctly in sysfs. Signed-off-by: Thomas Gleixner Acked-by: John Stultz Cc: Magnus Damm Link: http://lkml.kernel.org/r/20130425143435.696321912@linutronix.de Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed