commit | f5273fa3102fa4c25819f3034b8834c37d3e62a3 | [log] [tgz] |
---|---|---|
author | Alexander Clouter <alex@digriz.org.uk> | Mon Feb 23 22:37:36 2009 +0000 |
committer | Nicolas Pitre <nico@cam.org> | Tue Feb 24 23:59:33 2009 -0500 |
tree | 8b58f9413702bbd91e85c90398e35f113435a286 | |
parent | f1f5465782a96201798ef1e8167ed3ffaefdb30d [diff] |
[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 <alex@digriz.org.uk> Signed-off-by: Nicolas Pitre <nico@cam.org>