diff for duplicates of <11123113902683@kroah.com> diff --git a/a/1.txt b/N1/1.txt index 8697aad..3af3c9c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -324,7 +324,7 @@ diff -Nru a/drivers/i2c/chips/lm92.c b/drivers/i2c/chips/lm92.c + reads and time, but this should still be sufficient to dismiss + non-MAX6635 chips. */ + conf = i2c_smbus_read_byte_data(client, LM92_REG_CONFIG); -+ for (i\x16; i<96; i*=2) { ++ for (i=16; i<96; i*=2) { + if (temp_hyst != i2c_smbus_read_word_data(client, + LM92_REG_TEMP_HYST + i - 16) + || temp_crit != i2c_smbus_read_word_data(client, @@ -377,8 +377,8 @@ diff -Nru a/drivers/i2c/chips/lm92.c b/drivers/i2c/chips/lm92.c + u16 man_id = i2c_smbus_read_word_data(new_client, + LM92_REG_MAN_ID); + -+ if ((config & 0xe0) = 0x00 -+ && man_id = 0x0180) { ++ if ((config & 0xe0) == 0x00 ++ && man_id == 0x0180) { + pr_info("lm92: Found National Semiconductor LM92 chip\n"); + kind = lm92; + } else @@ -389,11 +389,11 @@ diff -Nru a/drivers/i2c/chips/lm92.c b/drivers/i2c/chips/lm92.c + else + goto exit_free; + } else -+ if (kind = 0) /* Default to an LM92 if forced */ ++ if (kind == 0) /* Default to an LM92 if forced */ + kind = lm92; + + /* Give it the proper name */ -+ if (kind = lm92) { ++ if (kind == lm92) { + name = "lm92"; + } else { /* Supposedly cannot happen */ + dev_dbg(&new_client->dev, "Kind out of range?\n"); diff --git a/a/content_digest b/N1/content_digest index fd34547..934ef16 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\011123113893610@kroah.com\0" - "From\0gregkh@suse.de (Greg KH)\0" + "From\0Greg KH <gregkh@suse.de>\0" "Subject\0[PATCH] I2C: New lm92 chip driver\0" - "Date\0Thu, 19 May 2005 06:25:47 +0000\0" + "Date\0Thu, 31 Mar 2005 15:23:10 -0800\0" "To\0linux-kernel@vger.kernel.org" " sensors@stimpy.netroedge.com\0" "Cc\0khali@linux-fr.org\0" @@ -333,7 +333,7 @@ "+\t reads and time, but this should still be sufficient to dismiss\n" "+\t non-MAX6635 chips. */\n" "+\tconf = i2c_smbus_read_byte_data(client, LM92_REG_CONFIG);\n" - "+\tfor (i\026; i<96; i*=2) {\n" + "+\tfor (i=16; i<96; i*=2) {\n" "+\t\tif (temp_hyst != i2c_smbus_read_word_data(client,\n" "+\t\t \t\t LM92_REG_TEMP_HYST + i - 16)\n" "+\t\t || temp_crit != i2c_smbus_read_word_data(client,\n" @@ -386,8 +386,8 @@ "+\t\tu16 man_id = i2c_smbus_read_word_data(new_client,\n" "+\t\t\t LM92_REG_MAN_ID);\n" "+\n" - "+\t\tif ((config & 0xe0) = 0x00\n" - "+\t\t && man_id = 0x0180) {\n" + "+\t\tif ((config & 0xe0) == 0x00\n" + "+\t\t && man_id == 0x0180) {\n" "+\t\t\tpr_info(\"lm92: Found National Semiconductor LM92 chip\\n\");\n" "+\t \t\tkind = lm92;\n" "+\t\t} else\n" @@ -398,11 +398,11 @@ "+\t\telse\n" "+\t\t\tgoto exit_free;\n" "+\t} else\n" - "+\tif (kind = 0) /* Default to an LM92 if forced */\n" + "+\tif (kind == 0) /* Default to an LM92 if forced */\n" "+\t\tkind = lm92;\n" "+\n" "+\t/* Give it the proper name */\n" - "+\tif (kind = lm92) {\n" + "+\tif (kind == lm92) {\n" "+\t\tname = \"lm92\";\n" "+\t} else { /* Supposedly cannot happen */\n" "+\t\tdev_dbg(&new_client->dev, \"Kind out of range?\\n\");\n" @@ -491,4 +491,4 @@ "+module_init(sensors_lm92_init);\n" +module_exit(sensors_lm92_exit); -0add478c9b3205a6041404489f8b6d685abf0cb615ea9c55fa60478051ea4921 +a6fffcb87ec99d7a033edde822f73745d52154d36d70d0e52df6f3fc496dae25
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.