From: Michael Neuling Date: Tue, 19 Aug 2014 04:48:00 +0000 (+1000) Subject: powerpc/powernv: Check OPAL RTC calls exists before using X-Git-Tag: fixes-against-v3.18-rc2~117^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=035ed26fb090ff3277900259f19d57e54da2e116;p=pandora-kernel.git powerpc/powernv: Check OPAL RTC calls exists before using Check that the OPAL_RTC_READ token exists before we use the OPAL RTC. Refactors the code a little to merge error paths. This avoids littering the OPAL console with: "OPAL: Called with bad token 3". Signed-off-by: Michael Neuling Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed