[i2c] [PATCH] rtc-ds1307 : SMBus compatibility

From: BARRE Sebastien
Date: Fri Oct 17 2008 - 11:15:57 EST

This patch change i2c access functions to SMBus access functions
in order to use the ds1307 with SMBus adapter.

Signed-off-by: Sebastien Barre <sbarre@xxxxxxxxxx>


The initial patch was based on, I've redone it against Linus's current git tree.
Sorry, the patch is attached because my email client replace all the tabs with spaces.

I've tested it with ds1307 chip.
Is somebody can test it on ds1337/ds1338 ?

SÃbastien BarrÃ
Bureau d'Ãtude - DÃveloppement
SDEL ContrÃle Commande
D2A - Rue Nungesser et Coli
44860 Saint Aignan de Grand Lieu
TÃl : +33(0)2 40 84 50 88
Fax : +33(0)2 40 84 51 10

Attachment: patch-rtc-ds1307
Description: patch-rtc-ds1307