mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-11 16:40:16 +00:00
cleanup
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1685 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
b316273d00
commit
1286132218
1 file changed
+2
-4
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user