Skip to contentSkip to conversation

Fix lm90.c with DEBUG

PATCH New Jean Delvare 2 participants 2 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix lm90.c with DEBUG

Hi Greg,

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 +2 -2
@@ -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;
 		}
Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
Applied
#1 lore raw

PATCH 1/1 Fix lm90.c with DEBUG

Quoted 5 lines · Jean Delvare

Hi Greg,

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.

Applied, thanks.

greg k-h