From: Alexander Clouter Date: Mon, 23 Feb 2009 22:37:36 +0000 (+0000) Subject: [ARM] orion5x: ts78xx make more bulletproof the RTC load/unload code X-Git-Tag: v2.6.30-rc1~636^2~18^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5273fa3102fa4c25819f3034b8834c37d3e62a3;p=pandora-kernel.git [ARM] orion5x: ts78xx make more bulletproof the RTC load/unload code Added checks to the platform_device_(register|add) calls so that if a device failed to load it would then not later be unloaded; also added the hooks so that it would not try to unload when the RTC driver support is compiled out. Signed-off-by: Alexander Clouter Signed-off-by: Nicolas Pitre --- Reading git-diff-tree failed