sh: sh-rtc invalid time rework
authorMagnus Damm <damm@igel.co.jp>
Thu, 19 Mar 2009 10:10:44 +0000 (10:10 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 20 Mar 2009 09:57:30 +0000 (18:57 +0900)
This patch modifies invalid time handling in the
SuperH RTC driver. Instead of zeroing the returned
value at read-out time we just return an error code
and reset invalid values during probe.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found