lkml.org 
[lkml]   [2004]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] i2c driver fixes for 2.6.1
Date
From
ChangeSet 1.1474.98.20, 2004/01/19 12:49:37-08:00, khali@linux-fr.org

[PATCH] I2C: Fix lm90.c with DEBUG

The recent patch that fixes lm83.c with DEBUG also applies to lm90.c. No
wonder since I used the first as a template when porting the second.
Patch follows.


drivers/i2c/chips/lm90.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


diff -Nru a/drivers/i2c/chips/lm90.c b/drivers/i2c/chips/lm90.c
--- a/drivers/i2c/chips/lm90.c Mon Jan 19 15:29:26 2004
+++ b/drivers/i2c/chips/lm90.c Mon Jan 19 15:29:26 2004
@@ -320,8 +320,8 @@

if ((reg_config1 & 0x2A) != 0x00
|| reg_convrate > 0x0A) {
- dev_dbg(&client->dev,
- "LM90 detection failed at 0x%02x.\n"
+ dev_dbg(&adapter->dev,
+ "LM90 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/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:1.198 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site