powernv: Remove get/set_rtc_time when they are not present
authorMichael Neuling <mikey@neuling.org>
Fri, 29 Nov 2013 03:22:48 +0000 (14:22 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Dec 2013 05:08:22 +0000 (16:08 +1100)
Currently we continue to poll get/set_rtc_time even when we know they
are not working.

This changes it so that if it fails at boot time we remove the ppc_md
get/set_rtc_time hooks so that we don't end up polling known broken
calls.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found