[PATCH] rtc: ds1743 support
authorTorsten Ertbjerg Rasmussen <tr@newtec.dk>
Thu, 7 Dec 2006 04:39:41 +0000 (20:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:43 +0000 (08:39 -0800)
commitf9231a0ca1afd05543d9f83539d6ecd5c018e8cf
tree4305db0c914b3789296b05774c48aec76c0b3d21
parent3908fd2ed920af818aa596672da68ba26173ff27
[PATCH] rtc: ds1743 support

The real time clocks ds1742 and ds1743 differs only in the size of the
nvram.  This patch changes the existing ds1742 driver to support also
ds1743.  The main change is that the nvram size is determined from the
resource attached to the device.

The patch have benefitted from suggestions from Atsushi Nemeto, who is the
author of the ds1742 driver.

Signed-off-by: Torsten Rasmussen Rasmussen <tr@newtec.dk>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/rtc/Kconfig
drivers/rtc/rtc-ds1742.c