diff options
author | Jüri Reitel <juri.reitel@liewenthal.ee> | 2009-01-07 18:07:16 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-08 08:31:00 -0800 |
commit | 74d88eb2930f09e1a63d61cc9d4cffc50c684412 (patch) | |
tree | 70df7d4f1858f9509331341cc83159cae4586dcd /drivers/rtc/rtc-ds1286.c | |
parent | fed40b734c343d4e4acf4b46f186bc3d69271867 (diff) | |
download | talos-op-linux-74d88eb2930f09e1a63d61cc9d4cffc50c684412.tar.gz talos-op-linux-74d88eb2930f09e1a63d61cc9d4cffc50c684412.zip |
rtc-ds1307: remove legacy probe() checks
Remove RTC register value checks from the rtc-ds1307 probe() function.
They were left over from the legacy style I2C driver, which had to defend
against finding a non-RTC chip when the driver was probed.
Also fix a minor glitch in the alarm support: DS1307 chips don't have
alarms, so name those methods after one of the chips which actually *do*
have alarms (DS1337).
Signed-off-by: Jüri Reitel <juri.reitel@liewenthal.ee>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Sebastien Barre <sbarre@sdelcc.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Acked-by: Jean Delvare <khali@linux-fr.org>
Cc: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-ds1286.c')
0 files changed, 0 insertions, 0 deletions