]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
rtc: rtc-isl1208: reject invalid dates
authorChris Elston <celston@katalix.com>
Tue, 23 Dec 2008 21:57:10 +0000 (13:57 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 23 Dec 2008 23:58:21 +0000 (15:58 -0800)
commitcc6c2ca30074a0274c05dd3212c741a550f0d3c2
treee5a19743440bb1e52d07d3d466322232908142a5
parentc47a75a45fa3a9d98b61f7e31983ffab2c44404f
rtc: rtc-isl1208: reject invalid dates

This patch for the rtc-isl1208 driver makes it reject invalid dates.

Signed-off-by: Chris Elston <celston@katalix.com>
[a.zummo@towertech.it: added comment explaining the check]
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: Hebert Valerio Riedel <hvr@gnu.org>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-isl1208.c