git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1685 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker committed 2003-01-05 01:05:27 +00:00
1 parent b316273d00
commit 1286132218
1 file changed
+2 -4
+2 -4
View File
@@ -434,10 +434,8 @@ int adm1021_rd_good(u8 *val, struct i2c_client *client, u8 reg)
i = i2c_smbus_read_byte_data(client, reg);
if(i < 0)
return i;
else {
*val = i;
return 0;
}
*val = i;
return 0;
}
int adm1021_write_value(struct i2c_client *client, u8 reg, u16 value)