Messages in this thread Patch in this message | | | Subject | Re: [PATCH] i2c driver fixes for 2.6.1 | Date | Mon, 19 Jan 2004 15:59:23 -0800 | From | Greg KH <> |
| |
ChangeSet 1.1474.98.12, 2004/01/14 11:44:33-08:00, khali@linux-fr.org
[PATCH] I2C: Fix debug bug in lm83 driver
The following patch fixes lm83 failing to compile if DEBUG is set.
drivers/i2c/chips/lm83.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
diff -Nru a/drivers/i2c/chips/lm83.c b/drivers/i2c/chips/lm83.c --- a/drivers/i2c/chips/lm83.c Mon Jan 19 15:31:08 2004 +++ b/drivers/i2c/chips/lm83.c Mon Jan 19 15:31:08 2004 @@ -270,7 +270,7 @@ & 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; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |