[PATCH] I2C: ds1337: i2c_transfer() checking
authorLadislav Michl <ladis@linux-mips.org>
Wed, 4 May 2005 06:13:54 +0000 (08:13 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Jun 2005 04:51:51 +0000 (21:51 -0700)
i2c_transfer returns number of sucessfully transfered messages. Change
error checking to accordingly. (ds1337_set_datetime never returned
sucess)

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found