Commit 510a73ba authored by Margit Schubert-While's avatar Margit Schubert-While Committed by Greg Kroah-Hartman

[PATCH] I2C: minor lm85 fix

Jean scribeth :
> Except lm85, but this should be fixed

Indeed, patch attached.
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 0edcebec
......@@ -707,6 +707,8 @@ show_temp_reg(3);
int lm85_attach_adapter(struct i2c_adapter *adapter)
{
if (!(adapter->class & I2C_CLASS_HWMON))
return 0;
return i2c_detect(adapter, &addr_data, lm85_detect);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment