All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <4B82B055.7010006@fairview5.com>

diff --git a/a/1.txt b/N1/1.txt
index c68d8a4..017c36b 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -105,7 +105,7 @@ relative to thermal throttling as it is now.
 >> +++ b/Documentation/hwmon/asc7621	2010-02-21 11:47:26.000000000 -0700
 >> @@ -0,0 +1,295 @@
 >> +Kernel driver asc7621
->> +=========
+>> +==================
 >> +
 >> +Supported chips:
 >> +    Andigilog aSC7621 and aSC7621a
@@ -223,7 +223,8 @@ relative to thermal throttling as it is now.
 >> +- 24-Lead QSOP package
 >> +
 >> +Configuration Notes
->> +=========>> +
+>> +===================
+>> +
 >> +Except where noted below, the sysfs entries created by this driver follow
 >> +the standards defined in "sysfs-interface".
 >> +
@@ -639,7 +640,7 @@ relative to thermal throttling as it is now.
 >> +	mutex_unlock(&data->update_lock);
 >> +
 >> +	return sprintf(buf, "%u\n",
->> +		       (regval = 0 ? -1 : (regval) =
+>> +		       (regval == 0 ? -1 : (regval) ==
 >> +			0xffff ? 0 : 5400000 / regval));
 >> +}
 >> +
@@ -653,7 +654,8 @@ relative to thermal throttling as it is now.
 >> +	if (strict_strtol(buf, 10,&reqval))
 >> +		return -EINVAL;
 >> +
->> +	reqval >> +	    (SENSORS_LIMIT((reqval)<= 0 ? 0 : 5400000 / (reqval), 0, 65534));
+>> +	reqval =
+>> +	    (SENSORS_LIMIT((reqval)<= 0 ? 0 : 5400000 / (reqval), 0, 65534));
 >> +
 >> +	mutex_lock(&data->update_lock);
 >> +	data->reg[param->msb[0]] = (reqval>>  8)&  0xff;
@@ -849,7 +851,8 @@ relative to thermal throttling as it is now.
 >> +
 >> +	mutex_lock(&data->update_lock);
 >> +	auto_point1 = ((s8) data->reg[param->msb[1]]) * 1000;
->> +	regval >> +	    ((data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0]);
+>> +	regval =
+>> +	    ((data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0]);
 >> +	temp = auto_point1 + asc7621_range_map[SENSORS_LIMIT(regval, 0, 15)];
 >> +	mutex_unlock(&data->update_lock);
 >> +
@@ -877,7 +880,7 @@ relative to thermal throttling as it is now.
 >> +			break;
 >> +		}
 >> +	}
->> +	if (newval = 255) {
+>> +	if (newval == 255) {
 >> +		mutex_unlock(&data->update_lock);
 >> +		return -EINVAL;
 >> +	}
@@ -963,13 +966,13 @@ relative to thermal throttling as it is now.
 >> +	val = config | (altbit<<  3);
 >> +	newval = 0;
 >> +
->> +	if (val = 3 || val>= 10)
+>> +	if (val == 3 || val>= 10)
 >> +		newval = 255;
->> +	else if (val = 4)
+>> +	else if (val == 4)
 >> +		newval = 0;
->> +	else if (val = 7)
+>> +	else if (val == 7)
 >> +		newval = 1;
->> +	else if (minoff = 1)
+>> +	else if (minoff == 1)
 >> +		newval = 2;
 >> +	else
 >> +		newval = 3;
@@ -1024,7 +1027,8 @@ relative to thermal throttling as it is now.
 >> +	if (minoff<  255) {
 >> +		minoff = (minoff&  param->mask[2])<<  param->shift[2];
 >> +		currval = read_byte(param->msb[2]);
->> +		newval >> +		    minoff | (currval&  ~(param->mask[2]<<  param->shift[2]));
+>> +		newval =
+>> +		    minoff | (currval&  ~(param->mask[2]<<  param->shift[2]));
 >> +		data->reg[param->msb[2]] = newval;
 >> +		write_byte(param->msb[2], newval);
 >> +	}
@@ -1041,7 +1045,8 @@ relative to thermal throttling as it is now.
 >> +			     struct device_attribute *attr, char *buf)
 >> +{
 >> +	SETUP_SHOW_data_param(dev, attr);
->> +	u8 regval >> +	    (data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0];
+>> +	u8 regval =
+>> +	    (data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0];
 >> +
 >> +	regval = SENSORS_LIMIT(regval, 0, 15);
 >> +
@@ -1061,12 +1066,12 @@ relative to thermal throttling as it is now.
 >> +		return -EINVAL;
 >> +
 >> +	for (i = 0; i<  ARRAY_SIZE(asc7621_pwm_freq_map); i++) {
->> +		if (reqval = asc7621_pwm_freq_map[i]) {
+>> +		if (reqval == asc7621_pwm_freq_map[i]) {
 >> +			newval = i;
 >> +			break;
 >> +		}
 >> +	}
->> +	if (newval = 255)
+>> +	if (newval == 255)
 >> +		return -EINVAL;
 >> +
 >> +	newval = (newval&  param->mask[0])<<  param->shift[0];
@@ -1088,7 +1093,8 @@ relative to thermal throttling as it is now.
 >> +			    struct device_attribute *attr, char *buf)
 >> +{
 >> +	SETUP_SHOW_data_param(dev, attr);
->> +	u8 regval >> +	    (data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0];
+>> +	u8 regval =
+>> +	    (data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0];
 >> +
 >> +	regval = SENSORS_LIMIT(regval, 0, 7);
 >> +
@@ -1109,12 +1115,12 @@ relative to thermal throttling as it is now.
 >> +		return -EINVAL;
 >> +
 >> +	for (i = 0; i<  ARRAY_SIZE(asc7621_pwm_auto_spinup_map); i++) {
->> +		if (reqval = asc7621_pwm_auto_spinup_map[i]) {
+>> +		if (reqval == asc7621_pwm_auto_spinup_map[i]) {
 >> +			newval = i;
 >> +			break;
 >> +		}
 >> +	}
->> +	if (newval = 255)
+>> +	if (newval == 255)
 >> +		return -EINVAL;
 >> +
 >> +	newval = (newval&  param->mask[0])<<  param->shift[0];
@@ -1136,7 +1142,8 @@ relative to thermal throttling as it is now.
 >> +			    struct device_attribute *attr, char *buf)
 >> +{
 >> +	SETUP_SHOW_data_param(dev, attr);
->> +	u8 regval >> +	    (data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0];
+>> +	u8 regval =
+>> +	    (data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0];
 >> +	regval = SENSORS_LIMIT(regval, 0, 7);
 >> +
 >> +	return sprintf(buf, "%u\n", asc7621_temp_smoothing_time_map[regval]);
@@ -1155,13 +1162,13 @@ relative to thermal throttling as it is now.
 >> +		return -EINVAL;
 >> +
 >> +	for (i = 0; i<  ARRAY_SIZE(asc7621_pwm_auto_spinup_map); i++) {
->> +		if (reqval = asc7621_temp_smoothing_time_map[i]) {
+>> +		if (reqval == asc7621_temp_smoothing_time_map[i]) {
 >> +			newval = i;
 >> +			break;
 >> +		}
 >> +	}
 >> +
->> +	if (newval = 255)
+>> +	if (newval == 255)
 >> +		return -EINVAL;
 >> +
 >> +	newval = (newval&  param->mask[0])<<  param->shift[0];
@@ -1402,8 +1409,9 @@ relative to thermal throttling as it is now.
 >> +	    time_after(jiffies, data->last_high_reading + INTERVAL_HIGH)) {
 >> +
 >> +		for (i = 0; i<  ARRAY_SIZE(asc7621_register_priorities); i++) {
->> +			if (asc7621_register_priorities[i] = PRI_HIGH) {
->> +				data->reg[i] >> +				    i2c_smbus_read_byte_data(client, i)&  0xff;
+>> +			if (asc7621_register_priorities[i] == PRI_HIGH) {
+>> +				data->reg[i] =
+>> +				    i2c_smbus_read_byte_data(client, i)&  0xff;
 >> +			}
 >> +		}
 >> +		data->last_high_reading = jiffies;
@@ -1415,8 +1423,9 @@ relative to thermal throttling as it is now.
 >> +	    time_after(jiffies, data->last_high_reading + INTERVAL_LOW)) {
 >> +
 >> +		for (i = 0; i<  ARRAY_SIZE(asc7621_params); i++) {
->> +			if (asc7621_register_priorities[i] = PRI_LOW) {
->> +				data->reg[i] >> +				    i2c_smbus_read_byte_data(client, i)&  0xff;
+>> +			if (asc7621_register_priorities[i] == PRI_LOW) {
+>> +				data->reg[i] =
+>> +				    i2c_smbus_read_byte_data(client, i)&  0xff;
 >> +			}
 >> +		}
 >> +		data->last_low_reading = jiffies;
@@ -1442,7 +1451,7 @@ relative to thermal throttling as it is now.
 >> +
 >> +	for (i = 0; asc7621_chips[chip_type].addresses[i] != I2C_CLIENT_END;
 >> +	     i++) {
->> +		if (asc7621_chips[chip_type].addresses[i] = address)
+>> +		if (asc7621_chips[chip_type].addresses[i] == address)
 >> +			return 1;
 >> +	}
 >> +	return 0;
@@ -1482,9 +1491,11 @@ relative to thermal throttling as it is now.
 >> +
 >> +	for (i = 0; i<  ARRAY_SIZE(asc7621_params); i++) {
 >> +		for (j = 0; j<  ARRAY_SIZE(asc7621_params[i].msb); j++)
->> +			asc7621_register_priorities[asc7621_params[i].msb[j]] >> +			    asc7621_params[i].priority;
+>> +			asc7621_register_priorities[asc7621_params[i].msb[j]] =
+>> +			    asc7621_params[i].priority;
 >> +		for (j = 0; j<  ARRAY_SIZE(asc7621_params[i].lsb); j++)
->> +			asc7621_register_priorities[asc7621_params[i].lsb[j]] >> +			    asc7621_params[i].priority;
+>> +			asc7621_register_priorities[asc7621_params[i].lsb[j]] =
+>> +			    asc7621_params[i].priority;
 >> +	}
 >> +}
 >> +
@@ -1498,7 +1509,7 @@ relative to thermal throttling as it is now.
 >> +		return -EIO;
 >> +
 >> +	data = kzalloc(sizeof(struct asc7621_data), GFP_KERNEL);
->> +	if (data = NULL)
+>> +	if (data == NULL)
 >> +		return -ENOMEM;
 >> +
 >> +	i2c_set_clientdata(client, data);
@@ -1510,7 +1521,8 @@ relative to thermal throttling as it is now.
 >> +
 >> +	/* Create the sysfs entries */
 >> +	for (i = 0; i<  ARRAY_SIZE(asc7621_params); i++) {
->> +		err >> +		    device_create_file(&client->dev,
+>> +		err =
+>> +		    device_create_file(&client->dev,
 >> +				&(asc7621_params[i].sda.dev_attr));
 >> +		if (err)
 >> +			goto exit_remove;
@@ -1555,8 +1567,8 @@ relative to thermal throttling as it is now.
 >> +		company = read_byte(asc7621_chips[chip_index].company_reg);
 >> +		verstep = read_byte(asc7621_chips[chip_index].verstep_reg);
 >> +
->> +		if (company = asc7621_chips[chip_index].company_id&&
->> +		    verstep = asc7621_chips[chip_index].verstep_id) {
+>> +		if (company == asc7621_chips[chip_index].company_id&&
+>> +		    verstep == asc7621_chips[chip_index].verstep_id) {
 >> +			strlcpy(client->name, asc7621_chips[chip_index].name,
 >> +				I2C_NAME_SIZE);
 >> +			strlcpy(info->type, asc7621_chips[chip_index].name,
@@ -1678,9 +1690,3 @@ relative to thermal throttling as it is now.
 >
 >
 >
-
-
-_______________________________________________
-lm-sensors mailing list
-lm-sensors@lm-sensors.org
-http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
diff --git a/a/content_digest b/N1/content_digest
index 4d5b5d2..00f3490 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -5,8 +5,8 @@
  "ref\04B822449.6050700@fairview5.com\0"
  "ref\01266837398.1868.5.camel@localhost\0"
  "From\0George Joseph <george.joseph@fairview5.com>\0"
- "Subject\0Re: [lm-sensors] reformat: [PATCH] hwmon: Driver for Andigilog\0"
- "Date\0Mon, 22 Feb 2010 16:27:01 +0000\0"
+ "Subject\0Re: reformat: [PATCH] hwmon: Driver for Andigilog aSC7621 family monitoring chips\0"
+ "Date\0Mon, 22 Feb 2010 09:27:01 -0700\0"
  "To\0Jaswinder Singh Rajput <jaswinder@kernel.org>\0"
  "Cc\0Andrew Morton <akpm@linux-foundation.org>"
   Ingo Molnar <mingo@elte.hu>
@@ -124,7 +124,7 @@
  ">> +++ b/Documentation/hwmon/asc7621\t2010-02-21 11:47:26.000000000 -0700\n"
  ">> @@ -0,0 +1,295 @@\n"
  ">> +Kernel driver asc7621\n"
- ">> +=========\n"
+ ">> +==================\n"
  ">> +\n"
  ">> +Supported chips:\n"
  ">> +    Andigilog aSC7621 and aSC7621a\n"
@@ -242,7 +242,8 @@
  ">> +- 24-Lead QSOP package\n"
  ">> +\n"
  ">> +Configuration Notes\n"
- ">> +=========>> +\n"
+ ">> +===================\n"
+ ">> +\n"
  ">> +Except where noted below, the sysfs entries created by this driver follow\n"
  ">> +the standards defined in \"sysfs-interface\".\n"
  ">> +\n"
@@ -658,7 +659,7 @@
  ">> +\tmutex_unlock(&data->update_lock);\n"
  ">> +\n"
  ">> +\treturn sprintf(buf, \"%u\\n\",\n"
- ">> +\t\t       (regval = 0 ? -1 : (regval) =\n"
+ ">> +\t\t       (regval == 0 ? -1 : (regval) ==\n"
  ">> +\t\t\t0xffff ? 0 : 5400000 / regval));\n"
  ">> +}\n"
  ">> +\n"
@@ -672,7 +673,8 @@
  ">> +\tif (strict_strtol(buf, 10,&reqval))\n"
  ">> +\t\treturn -EINVAL;\n"
  ">> +\n"
- ">> +\treqval >> +\t    (SENSORS_LIMIT((reqval)<= 0 ? 0 : 5400000 / (reqval), 0, 65534));\n"
+ ">> +\treqval =\n"
+ ">> +\t    (SENSORS_LIMIT((reqval)<= 0 ? 0 : 5400000 / (reqval), 0, 65534));\n"
  ">> +\n"
  ">> +\tmutex_lock(&data->update_lock);\n"
  ">> +\tdata->reg[param->msb[0]] = (reqval>>  8)&  0xff;\n"
@@ -868,7 +870,8 @@
  ">> +\n"
  ">> +\tmutex_lock(&data->update_lock);\n"
  ">> +\tauto_point1 = ((s8) data->reg[param->msb[1]]) * 1000;\n"
- ">> +\tregval >> +\t    ((data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0]);\n"
+ ">> +\tregval =\n"
+ ">> +\t    ((data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0]);\n"
  ">> +\ttemp = auto_point1 + asc7621_range_map[SENSORS_LIMIT(regval, 0, 15)];\n"
  ">> +\tmutex_unlock(&data->update_lock);\n"
  ">> +\n"
@@ -896,7 +899,7 @@
  ">> +\t\t\tbreak;\n"
  ">> +\t\t}\n"
  ">> +\t}\n"
- ">> +\tif (newval = 255) {\n"
+ ">> +\tif (newval == 255) {\n"
  ">> +\t\tmutex_unlock(&data->update_lock);\n"
  ">> +\t\treturn -EINVAL;\n"
  ">> +\t}\n"
@@ -982,13 +985,13 @@
  ">> +\tval = config | (altbit<<  3);\n"
  ">> +\tnewval = 0;\n"
  ">> +\n"
- ">> +\tif (val = 3 || val>= 10)\n"
+ ">> +\tif (val == 3 || val>= 10)\n"
  ">> +\t\tnewval = 255;\n"
- ">> +\telse if (val = 4)\n"
+ ">> +\telse if (val == 4)\n"
  ">> +\t\tnewval = 0;\n"
- ">> +\telse if (val = 7)\n"
+ ">> +\telse if (val == 7)\n"
  ">> +\t\tnewval = 1;\n"
- ">> +\telse if (minoff = 1)\n"
+ ">> +\telse if (minoff == 1)\n"
  ">> +\t\tnewval = 2;\n"
  ">> +\telse\n"
  ">> +\t\tnewval = 3;\n"
@@ -1043,7 +1046,8 @@
  ">> +\tif (minoff<  255) {\n"
  ">> +\t\tminoff = (minoff&  param->mask[2])<<  param->shift[2];\n"
  ">> +\t\tcurrval = read_byte(param->msb[2]);\n"
- ">> +\t\tnewval >> +\t\t    minoff | (currval&  ~(param->mask[2]<<  param->shift[2]));\n"
+ ">> +\t\tnewval =\n"
+ ">> +\t\t    minoff | (currval&  ~(param->mask[2]<<  param->shift[2]));\n"
  ">> +\t\tdata->reg[param->msb[2]] = newval;\n"
  ">> +\t\twrite_byte(param->msb[2], newval);\n"
  ">> +\t}\n"
@@ -1060,7 +1064,8 @@
  ">> +\t\t\t     struct device_attribute *attr, char *buf)\n"
  ">> +{\n"
  ">> +\tSETUP_SHOW_data_param(dev, attr);\n"
- ">> +\tu8 regval >> +\t    (data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0];\n"
+ ">> +\tu8 regval =\n"
+ ">> +\t    (data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0];\n"
  ">> +\n"
  ">> +\tregval = SENSORS_LIMIT(regval, 0, 15);\n"
  ">> +\n"
@@ -1080,12 +1085,12 @@
  ">> +\t\treturn -EINVAL;\n"
  ">> +\n"
  ">> +\tfor (i = 0; i<  ARRAY_SIZE(asc7621_pwm_freq_map); i++) {\n"
- ">> +\t\tif (reqval = asc7621_pwm_freq_map[i]) {\n"
+ ">> +\t\tif (reqval == asc7621_pwm_freq_map[i]) {\n"
  ">> +\t\t\tnewval = i;\n"
  ">> +\t\t\tbreak;\n"
  ">> +\t\t}\n"
  ">> +\t}\n"
- ">> +\tif (newval = 255)\n"
+ ">> +\tif (newval == 255)\n"
  ">> +\t\treturn -EINVAL;\n"
  ">> +\n"
  ">> +\tnewval = (newval&  param->mask[0])<<  param->shift[0];\n"
@@ -1107,7 +1112,8 @@
  ">> +\t\t\t    struct device_attribute *attr, char *buf)\n"
  ">> +{\n"
  ">> +\tSETUP_SHOW_data_param(dev, attr);\n"
- ">> +\tu8 regval >> +\t    (data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0];\n"
+ ">> +\tu8 regval =\n"
+ ">> +\t    (data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0];\n"
  ">> +\n"
  ">> +\tregval = SENSORS_LIMIT(regval, 0, 7);\n"
  ">> +\n"
@@ -1128,12 +1134,12 @@
  ">> +\t\treturn -EINVAL;\n"
  ">> +\n"
  ">> +\tfor (i = 0; i<  ARRAY_SIZE(asc7621_pwm_auto_spinup_map); i++) {\n"
- ">> +\t\tif (reqval = asc7621_pwm_auto_spinup_map[i]) {\n"
+ ">> +\t\tif (reqval == asc7621_pwm_auto_spinup_map[i]) {\n"
  ">> +\t\t\tnewval = i;\n"
  ">> +\t\t\tbreak;\n"
  ">> +\t\t}\n"
  ">> +\t}\n"
- ">> +\tif (newval = 255)\n"
+ ">> +\tif (newval == 255)\n"
  ">> +\t\treturn -EINVAL;\n"
  ">> +\n"
  ">> +\tnewval = (newval&  param->mask[0])<<  param->shift[0];\n"
@@ -1155,7 +1161,8 @@
  ">> +\t\t\t    struct device_attribute *attr, char *buf)\n"
  ">> +{\n"
  ">> +\tSETUP_SHOW_data_param(dev, attr);\n"
- ">> +\tu8 regval >> +\t    (data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0];\n"
+ ">> +\tu8 regval =\n"
+ ">> +\t    (data->reg[param->msb[0]]>>  param->shift[0])&  param->mask[0];\n"
  ">> +\tregval = SENSORS_LIMIT(regval, 0, 7);\n"
  ">> +\n"
  ">> +\treturn sprintf(buf, \"%u\\n\", asc7621_temp_smoothing_time_map[regval]);\n"
@@ -1174,13 +1181,13 @@
  ">> +\t\treturn -EINVAL;\n"
  ">> +\n"
  ">> +\tfor (i = 0; i<  ARRAY_SIZE(asc7621_pwm_auto_spinup_map); i++) {\n"
- ">> +\t\tif (reqval = asc7621_temp_smoothing_time_map[i]) {\n"
+ ">> +\t\tif (reqval == asc7621_temp_smoothing_time_map[i]) {\n"
  ">> +\t\t\tnewval = i;\n"
  ">> +\t\t\tbreak;\n"
  ">> +\t\t}\n"
  ">> +\t}\n"
  ">> +\n"
- ">> +\tif (newval = 255)\n"
+ ">> +\tif (newval == 255)\n"
  ">> +\t\treturn -EINVAL;\n"
  ">> +\n"
  ">> +\tnewval = (newval&  param->mask[0])<<  param->shift[0];\n"
@@ -1421,8 +1428,9 @@
  ">> +\t    time_after(jiffies, data->last_high_reading + INTERVAL_HIGH)) {\n"
  ">> +\n"
  ">> +\t\tfor (i = 0; i<  ARRAY_SIZE(asc7621_register_priorities); i++) {\n"
- ">> +\t\t\tif (asc7621_register_priorities[i] = PRI_HIGH) {\n"
- ">> +\t\t\t\tdata->reg[i] >> +\t\t\t\t    i2c_smbus_read_byte_data(client, i)&  0xff;\n"
+ ">> +\t\t\tif (asc7621_register_priorities[i] == PRI_HIGH) {\n"
+ ">> +\t\t\t\tdata->reg[i] =\n"
+ ">> +\t\t\t\t    i2c_smbus_read_byte_data(client, i)&  0xff;\n"
  ">> +\t\t\t}\n"
  ">> +\t\t}\n"
  ">> +\t\tdata->last_high_reading = jiffies;\n"
@@ -1434,8 +1442,9 @@
  ">> +\t    time_after(jiffies, data->last_high_reading + INTERVAL_LOW)) {\n"
  ">> +\n"
  ">> +\t\tfor (i = 0; i<  ARRAY_SIZE(asc7621_params); i++) {\n"
- ">> +\t\t\tif (asc7621_register_priorities[i] = PRI_LOW) {\n"
- ">> +\t\t\t\tdata->reg[i] >> +\t\t\t\t    i2c_smbus_read_byte_data(client, i)&  0xff;\n"
+ ">> +\t\t\tif (asc7621_register_priorities[i] == PRI_LOW) {\n"
+ ">> +\t\t\t\tdata->reg[i] =\n"
+ ">> +\t\t\t\t    i2c_smbus_read_byte_data(client, i)&  0xff;\n"
  ">> +\t\t\t}\n"
  ">> +\t\t}\n"
  ">> +\t\tdata->last_low_reading = jiffies;\n"
@@ -1461,7 +1470,7 @@
  ">> +\n"
  ">> +\tfor (i = 0; asc7621_chips[chip_type].addresses[i] != I2C_CLIENT_END;\n"
  ">> +\t     i++) {\n"
- ">> +\t\tif (asc7621_chips[chip_type].addresses[i] = address)\n"
+ ">> +\t\tif (asc7621_chips[chip_type].addresses[i] == address)\n"
  ">> +\t\t\treturn 1;\n"
  ">> +\t}\n"
  ">> +\treturn 0;\n"
@@ -1501,9 +1510,11 @@
  ">> +\n"
  ">> +\tfor (i = 0; i<  ARRAY_SIZE(asc7621_params); i++) {\n"
  ">> +\t\tfor (j = 0; j<  ARRAY_SIZE(asc7621_params[i].msb); j++)\n"
- ">> +\t\t\tasc7621_register_priorities[asc7621_params[i].msb[j]] >> +\t\t\t    asc7621_params[i].priority;\n"
+ ">> +\t\t\tasc7621_register_priorities[asc7621_params[i].msb[j]] =\n"
+ ">> +\t\t\t    asc7621_params[i].priority;\n"
  ">> +\t\tfor (j = 0; j<  ARRAY_SIZE(asc7621_params[i].lsb); j++)\n"
- ">> +\t\t\tasc7621_register_priorities[asc7621_params[i].lsb[j]] >> +\t\t\t    asc7621_params[i].priority;\n"
+ ">> +\t\t\tasc7621_register_priorities[asc7621_params[i].lsb[j]] =\n"
+ ">> +\t\t\t    asc7621_params[i].priority;\n"
  ">> +\t}\n"
  ">> +}\n"
  ">> +\n"
@@ -1517,7 +1528,7 @@
  ">> +\t\treturn -EIO;\n"
  ">> +\n"
  ">> +\tdata = kzalloc(sizeof(struct asc7621_data), GFP_KERNEL);\n"
- ">> +\tif (data = NULL)\n"
+ ">> +\tif (data == NULL)\n"
  ">> +\t\treturn -ENOMEM;\n"
  ">> +\n"
  ">> +\ti2c_set_clientdata(client, data);\n"
@@ -1529,7 +1540,8 @@
  ">> +\n"
  ">> +\t/* Create the sysfs entries */\n"
  ">> +\tfor (i = 0; i<  ARRAY_SIZE(asc7621_params); i++) {\n"
- ">> +\t\terr >> +\t\t    device_create_file(&client->dev,\n"
+ ">> +\t\terr =\n"
+ ">> +\t\t    device_create_file(&client->dev,\n"
  ">> +\t\t\t\t&(asc7621_params[i].sda.dev_attr));\n"
  ">> +\t\tif (err)\n"
  ">> +\t\t\tgoto exit_remove;\n"
@@ -1574,8 +1586,8 @@
  ">> +\t\tcompany = read_byte(asc7621_chips[chip_index].company_reg);\n"
  ">> +\t\tverstep = read_byte(asc7621_chips[chip_index].verstep_reg);\n"
  ">> +\n"
- ">> +\t\tif (company = asc7621_chips[chip_index].company_id&&\n"
- ">> +\t\t    verstep = asc7621_chips[chip_index].verstep_id) {\n"
+ ">> +\t\tif (company == asc7621_chips[chip_index].company_id&&\n"
+ ">> +\t\t    verstep == asc7621_chips[chip_index].verstep_id) {\n"
  ">> +\t\t\tstrlcpy(client->name, asc7621_chips[chip_index].name,\n"
  ">> +\t\t\t\tI2C_NAME_SIZE);\n"
  ">> +\t\t\tstrlcpy(info->type, asc7621_chips[chip_index].name,\n"
@@ -1696,12 +1708,6 @@
  ">>   M:\tKarol Kozimor<sziwan@users.sourceforge.net>\n"
  ">\n"
  ">\n"
- ">\n"
- "\n"
- "\n"
- "_______________________________________________\n"
- "lm-sensors mailing list\n"
- "lm-sensors@lm-sensors.org\n"
- http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
+ >
 
-22676ce9ca76e8ad110ecb78dcb47f86f53d25d12605cd6ad0c8a00ce33072b4
+06fe508d9723ac20f2247d94ded50f7537c681110b2edb3057456fc215c5fcc7

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.