diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-07 12:13:24 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-11-07 12:13:24 +0100 |
commit | 0ac554b9be9fd340aa59e0d6a311986afcea40cf (patch) | |
tree | 404f2eb2dc2482dbde88b814e9f44462816f1d1c /fs/partitions | |
parent | rtc: sh-rtc: Handle rtc_device_register() failure properly. (diff) | |
download | linux-0ac554b9be9fd340aa59e0d6a311986afcea40cf.tar.xz linux-0ac554b9be9fd340aa59e0d6a311986afcea40cf.zip |
rtc: rtc-sh: Zero out tm value for invalid rtc states.
Follows the changes of some of the other RTC drivers. If the tm
value is bogus, just zero it out. Adds some sanity for RTC_RD_TIME.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'fs/partitions')
0 files changed, 0 insertions, 0 deletions