rtc: pcf50633: fix month off-by-one error
authorRask Ingemann Lambertsen <rask@sygehus.dk>
Wed, 11 Nov 2009 22:26:36 +0000 (14:26 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Nov 2009 15:25:57 +0000 (07:25 -0800)
commit265f2a057bf6b567a32bb16dc8b1765cf0555d9f
treee69b617b6f48b5484e61b0775f8e59b4a64b8730
parent431861cfab0c8613f83bac0f41dae22ff74f9bc1
rtc: pcf50633: fix month off-by-one error

The PCF50633 stores a month value of 1-12, but the kernel wants 0-11.

Signed-off-by: Rask Ingemann Lambertsen <rask@sygehus.dk>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Cc: Paul Gortmaker <p_gortmaker@yahoo.com>
Cc: Balaji Rao <balajirrao@openmoko.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-pcf50633.c