rtc-ds1307: SMBus compatibility
authorBARRE Sebastien <sbarre@sdelcc.com>
Thu, 8 Jan 2009 02:07:13 +0000 (18:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 Jan 2009 16:30:59 +0000 (08:30 -0800)
commitfed40b734c343d4e4acf4b46f186bc3d69271867
tree645f62949e73c87789f7a5b9ab04cb9e9ba52302
parent1107ba885e46964316c083d441d5dd185b6c9e49
rtc-ds1307: SMBus compatibility

Change i2c access functions to SMBus access functions in order to use the
ds1307 with SMBus adapter.

Signed-off-by: Sebastien Barre <sbarre@sdelcc.com>
Acked-by: David Brownell <david-b@pacbell.net>
Tested-by: David Brownell <david-b@pacbell.net>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Acked-by: Jean Delvare <khali@linux-fr.org>
Cc: Rodolfo Giometti <giometti@enneenne.com>
Tested-by: Sebastien Barre <sbarre@sdelcc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-ds1307.c