Commit fd7a0d3e authored by Jean Delvare's avatar Jean Delvare Committed by Tom Rini

[PATCH] I2C: Fix debug bug in lm83 driver

The following patch fixes lm83 failing to compile if DEBUG is set.
parent c5de19fc
......@@ -270,7 +270,7 @@ static int lm83_detect(struct i2c_adapter *adapter, int address, int kind)
& 0x48) != 0x00) ||
((i2c_smbus_read_byte_data(new_client, LM83_REG_R_CONFIG)
& 0x41) != 0x00)) {
dev_dbg(&client->dev,
dev_dbg(&adapter->dev,
"LM83 detection failed at 0x%02x.\n", address);
goto exit_free;
}
......
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