rtc: tps6591x: setting default date & time
authorvenu byravarasu <vbyravarasu@nvidia.com>
Mon, 18 Apr 2011 09:19:22 +0000 (14:19 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 08:10:03 +0000 (01:10 -0700)
commitbe3256288eed13615c3bf2abd1307525957cb893
treeea00be9588862c60454fbb7c9580814b9950ff99
parenteae837cc69c68085f08c393b7acc57154c91db03
rtc: tps6591x: setting default date & time

Following changes are  done:
1. Set default date, if platform data is incorrect.
2. Added an offset to adjust the RTC time to show
the correct date in the time stamp.

Original-Change-Id: I69d9632a3db4a64b61f68bf84098fd00cb95bed7
Reviewed-on: http://git-master/r/27761
Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I875005353c75567821f0497a4ee47dc087d8e322

Rebase-Id: R98eaf3a015ef7614d7ed8c096f51ad69931ea223
drivers/rtc/rtc-tps6591x.c