diff for duplicates of <1072821972731@kroah.com> diff --git a/a/1.txt b/N1/1.txt index 6354b86..493007a 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -80,8 +80,8 @@ diff -Nru a/drivers/i2c/chips/lm83.c b/drivers/i2c/chips/lm83.c chip_id = i2c_smbus_read_byte_data(new_client, LM83_REG_R_CHIP_ID); + - if (man_id = 0x01) { /* National Semiconductor */ - if (chip_id = 0x03) { + if (man_id == 0x01) { /* National Semiconductor */ + if (chip_id == 0x03) { kind = lm83; @@ -315,8 +309,10 @@ if ((err = i2c_attach_client(new_client))) @@ -121,7 +121,8 @@ diff -Nru a/drivers/i2c/chips/lm83.c b/drivers/i2c/chips/lm83.c + dev_dbg(&client->dev, "Updating lm83 data.\n"); for (nr = 0; nr < 4 ; nr++) { - data->temp_input[nr] @@ -388,6 +374,7 @@ + data->temp_input[nr] = +@@ -388,6 +374,7 @@ i2c_smbus_read_byte_data(client, LM83_REG_R_STATUS1) + (i2c_smbus_read_byte_data(client, LM83_REG_R_STATUS2) << 8); diff --git a/a/content_digest b/N1/content_digest index 85eebfb..53bf66c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,7 @@ "ref\010728219712881@kroah.com\0" - "ref\010728219692713@kroah.com\0" - "From\0greg@kroah.com (Greg KH)\0" - "Subject\0[PATCH] i2c driver fixes for 2.6.0\0" - "Date\0Thu, 19 May 2005 06:24:32 +0000\0" + "From\0Greg KH <greg@kroah.com>\0" + "Subject\0Re: [PATCH] i2c driver fixes for 2.6.0\0" + "Date\0Tue, 30 Dec 2003 14:06:12 -0800\0" "To\0linux-kernel@vger.kernel.org" " sensors@stimpy.netroedge.com\0" "\00:1\0" @@ -89,8 +88,8 @@ " \t\tchip_id = i2c_smbus_read_byte_data(new_client,\n" " \t\t LM83_REG_R_CHIP_ID);\n" "+\n" - " \t\tif (man_id = 0x01) { /* National Semiconductor */\n" - " \t\t\tif (chip_id = 0x03) {\n" + " \t\tif (man_id == 0x01) { /* National Semiconductor */\n" + " \t\t\tif (chip_id == 0x03) {\n" " \t\t\t\tkind = lm83;\n" "@@ -315,8 +309,10 @@\n" " \tif ((err = i2c_attach_client(new_client)))\n" @@ -130,7 +129,8 @@ "+\n" " \t\tdev_dbg(&client->dev, \"Updating lm83 data.\\n\");\n" " \t\tfor (nr = 0; nr < 4 ; nr++) {\n" - " \t\t\tdata->temp_input[nr] @@ -388,6 +374,7 @@\n" + " \t\t\tdata->temp_input[nr] =\n" + "@@ -388,6 +374,7 @@\n" " \t\t i2c_smbus_read_byte_data(client, LM83_REG_R_STATUS1)\n" " \t\t + (i2c_smbus_read_byte_data(client, LM83_REG_R_STATUS2)\n" " \t\t << 8);\n" @@ -139,4 +139,4 @@ " \t\tdata->valid = 1;\n" " \t}" -c8f85237787b36bfcce277d2ec198c6391e0a31cc3a94b764a8b6495295e38f5 +2ab136952aa7a3c8ca98c0a513432162262d30012f9db7b62cec77c8daeb2c59
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.