mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-25 12:14:33 +00:00
Fix compilation broken by previous patch.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2854 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
ba51b5f66e
commit
89c7dabb13
1 file changed
+5
-5
@@ -213,15 +213,15 @@ int ds1621_detect(struct i2c_adapter *adapter, int address,
|
||||
temp = ds1621_read_value(new_client,
|
||||
DS1621_REG_TEMP);
|
||||
if (temp & 0x007f)
|
||||
goto exit_free;
|
||||
goto ERROR1;
|
||||
temp = ds1621_read_value(new_client,
|
||||
DS1621_REG_TEMP_MIN);
|
||||
DS1621_REG_TEMP_HYST);
|
||||
if (temp & 0x007f)
|
||||
goto exit_free;
|
||||
goto ERROR1;
|
||||
temp = ds1621_read_value(new_client,
|
||||
DS1621_REG_TEMP_MAX);
|
||||
DS1621_REG_TEMP_OVER);
|
||||
if (temp & 0x007f)
|
||||
goto exit_free;
|
||||
goto ERROR1;
|
||||
}
|
||||
|
||||
/* Determine the chip type - only one kind supported! */
|
||||
|
||||
Reference in new issue
Block a user