diff for duplicates of <1072821971560@kroah.com> diff --git a/a/1.txt b/N1/1.txt index c4ad2d6..31b25ce 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -23,8 +23,8 @@ diff -Nru a/drivers/i2c/chips/w83781d.c b/drivers/i2c/chips/w83781d.c } -/* Initial limits */ --#define W83781D_INIT_IN_0 (vid = 3500 ? 280 : vid / 10) --#define W83781D_INIT_IN_1 (vid = 3500 ? 280 : vid / 10) +-#define W83781D_INIT_IN_0 (vid == 3500 ? 280 : vid / 10) +-#define W83781D_INIT_IN_1 (vid == 3500 ? 280 : vid / 10) -#define W83781D_INIT_IN_2 330 -#define W83781D_INIT_IN_3 (((500) * 100) / 168) -#define W83781D_INIT_IN_4 (((1200) * 10) / 38) @@ -118,7 +118,7 @@ diff -Nru a/drivers/i2c/chips/w83781d.c b/drivers/i2c/chips/w83781d.c - IN_TO_REG(W83781D_INIT_IN_MIN_4)); - w83781d_write_value(client, W83781D_REG_IN_MAX(4), - IN_TO_REG(W83781D_INIT_IN_MAX_4)); -- if (type = w83781d || type = as99127f) { +- if (type == w83781d || type == as99127f) { - w83781d_write_value(client, W83781D_REG_IN_MIN(5), - IN_TO_REG(W83781D_INIT_IN_MIN_5)); - w83781d_write_value(client, W83781D_REG_IN_MAX(5), @@ -129,7 +129,7 @@ diff -Nru a/drivers/i2c/chips/w83781d.c b/drivers/i2c/chips/w83781d.c - w83781d_write_value(client, W83781D_REG_IN_MAX(5), - IN_TO_REG(W83782D_INIT_IN_MAX_5)); - } -- if (type = w83781d || type = as99127f) { +- if (type == w83781d || type == as99127f) { - w83781d_write_value(client, W83781D_REG_IN_MIN(6), - IN_TO_REG(W83781D_INIT_IN_MIN_6)); - w83781d_write_value(client, W83781D_REG_IN_MAX(6), @@ -140,8 +140,8 @@ diff -Nru a/drivers/i2c/chips/w83781d.c b/drivers/i2c/chips/w83781d.c - w83781d_write_value(client, W83781D_REG_IN_MAX(6), - IN_TO_REG(W83782D_INIT_IN_MAX_6)); - } -- if ((type = w83782d) || (type = w83627hf) || -- (type = w83697hf)) { +- if ((type == w83782d) || (type == w83627hf) || +- (type == w83697hf)) { - w83781d_write_value(client, W83781D_REG_IN_MIN(7), - IN_TO_REG(W83781D_INIT_IN_MIN_7)); - w83781d_write_value(client, W83781D_REG_IN_MAX(7), @@ -170,7 +170,7 @@ diff -Nru a/drivers/i2c/chips/w83781d.c b/drivers/i2c/chips/w83781d.c - w83781d_write_value(client, W83781D_REG_TEMP_HYST(1), - TEMP_TO_REG(W83781D_INIT_TEMP_HYST)); - -- if (type = as99127f) { +- if (type == as99127f) { - w83781d_write_value(client, W83781D_REG_TEMP_OVER(2), - AS99127_TEMP_ADD_TO_REG - (W83781D_INIT_TEMP2_OVER)); @@ -187,7 +187,7 @@ diff -Nru a/drivers/i2c/chips/w83781d.c b/drivers/i2c/chips/w83781d.c - } - w83781d_write_value(client, W83781D_REG_TEMP2_CONFIG, 0x00); - -- if (type = as99127f) { +- if (type == as99127f) { - w83781d_write_value(client, W83781D_REG_TEMP_OVER(3), - AS99127_TEMP_ADD_TO_REG - (W83781D_INIT_TEMP3_OVER)); diff --git a/a/content_digest b/N1/content_digest index 5bf721d..598f184 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,7 @@ "ref\010728219701628@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:11 -0800\0" "To\0linux-kernel@vger.kernel.org" " sensors@stimpy.netroedge.com\0" "\00:1\0" @@ -32,8 +31,8 @@ " }\n" " \n" "-/* Initial limits */\n" - "-#define W83781D_INIT_IN_0\t\t(vid = 3500 ? 280 : vid / 10)\n" - "-#define W83781D_INIT_IN_1\t\t(vid = 3500 ? 280 : vid / 10)\n" + "-#define W83781D_INIT_IN_0\t\t(vid == 3500 ? 280 : vid / 10)\n" + "-#define W83781D_INIT_IN_1\t\t(vid == 3500 ? 280 : vid / 10)\n" "-#define W83781D_INIT_IN_2\t\t330\n" "-#define W83781D_INIT_IN_3\t\t(((500) * 100) / 168)\n" "-#define W83781D_INIT_IN_4\t\t(((1200) * 10) / 38)\n" @@ -127,7 +126,7 @@ "-\t\t\t\t IN_TO_REG(W83781D_INIT_IN_MIN_4));\n" "-\t\tw83781d_write_value(client, W83781D_REG_IN_MAX(4),\n" "-\t\t\t\t IN_TO_REG(W83781D_INIT_IN_MAX_4));\n" - "-\t\tif (type = w83781d || type = as99127f) {\n" + "-\t\tif (type == w83781d || type == as99127f) {\n" "-\t\t\tw83781d_write_value(client, W83781D_REG_IN_MIN(5),\n" "-\t\t\t\t\t IN_TO_REG(W83781D_INIT_IN_MIN_5));\n" "-\t\t\tw83781d_write_value(client, W83781D_REG_IN_MAX(5),\n" @@ -138,7 +137,7 @@ "-\t\t\tw83781d_write_value(client, W83781D_REG_IN_MAX(5),\n" "-\t\t\t\t\t IN_TO_REG(W83782D_INIT_IN_MAX_5));\n" "-\t\t}\n" - "-\t\tif (type = w83781d || type = as99127f) {\n" + "-\t\tif (type == w83781d || type == as99127f) {\n" "-\t\t\tw83781d_write_value(client, W83781D_REG_IN_MIN(6),\n" "-\t\t\t\t\t IN_TO_REG(W83781D_INIT_IN_MIN_6));\n" "-\t\t\tw83781d_write_value(client, W83781D_REG_IN_MAX(6),\n" @@ -149,8 +148,8 @@ "-\t\t\tw83781d_write_value(client, W83781D_REG_IN_MAX(6),\n" "-\t\t\t\t\t IN_TO_REG(W83782D_INIT_IN_MAX_6));\n" "-\t\t}\n" - "-\t\tif ((type = w83782d) || (type = w83627hf) ||\n" - "-\t\t (type = w83697hf)) {\n" + "-\t\tif ((type == w83782d) || (type == w83627hf) ||\n" + "-\t\t (type == w83697hf)) {\n" "-\t\t\tw83781d_write_value(client, W83781D_REG_IN_MIN(7),\n" "-\t\t\t\t\t IN_TO_REG(W83781D_INIT_IN_MIN_7));\n" "-\t\t\tw83781d_write_value(client, W83781D_REG_IN_MAX(7),\n" @@ -179,7 +178,7 @@ "-\t\tw83781d_write_value(client, W83781D_REG_TEMP_HYST(1),\n" "-\t\t\t\t TEMP_TO_REG(W83781D_INIT_TEMP_HYST));\n" "-\n" - "-\t\tif (type = as99127f) {\n" + "-\t\tif (type == as99127f) {\n" "-\t\t\tw83781d_write_value(client, W83781D_REG_TEMP_OVER(2),\n" "-\t\t\t\t\t AS99127_TEMP_ADD_TO_REG\n" "-\t\t\t\t\t (W83781D_INIT_TEMP2_OVER));\n" @@ -196,7 +195,7 @@ "-\t\t}\n" "-\t\tw83781d_write_value(client, W83781D_REG_TEMP2_CONFIG, 0x00);\n" "-\n" - "-\t\tif (type = as99127f) {\n" + "-\t\tif (type == as99127f) {\n" "-\t\t\tw83781d_write_value(client, W83781D_REG_TEMP_OVER(3),\n" "-\t\t\t\t\t AS99127_TEMP_ADD_TO_REG\n" "-\t\t\t\t\t (W83781D_INIT_TEMP3_OVER));\n" @@ -215,4 +214,4 @@ " \t\t\tw83781d_write_value(client, W83781D_REG_TEMP3_CONFIG,\n" " \t\t\t\t\t 0x00);" -d97e85c7a2b728fe699d1389d2768c00844570bd0f15c10640601300b74ceb67 +ec66efd4ada37cedd25e064bdfa5b3cc17355c27ecc4d41b62d0e81b107e0ba5
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.