commit | edf22477dab5ff3be612af56ee4300ca63e11d06 | [log] [tgz] |
---|---|---|
author | Magnus Damm <damm@igel.co.jp> | Thu Mar 19 10:10:44 2009 +0000 |
committer | Paul Mundt <lethal@linux-sh.org> | Fri Mar 20 18:57:30 2009 +0900 |
tree | d22c64a0478f9f304b720f8be74245edad1bee55 | |
parent | 9cd88b90a6008b0d744187fab80ade4c81c6536f [diff] |
sh: sh-rtc invalid time rework 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>