diff for duplicates of <51234D59.4060405@nvidia.com> diff --git a/a/1.txt b/N1/1.txt index a8d0072..e1bba59 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -3,7 +3,7 @@ On 02/19/2013 11:31 AM, Guenter Roeck wrote: >> Split set&show temp codes as common functions, so we can use it directly when >> implement linux thermal framework. >> ->> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> +>> Signed-off-by: Wei Ni <wni@nvidia.com> >> --- >> drivers/hwmon/lm90.c | 117 +++++++++++++++++++++++++++++++------------------- >> 1 file changed, 72 insertions(+), 45 deletions(-) @@ -36,10 +36,10 @@ Wei. >> struct lm90_data *data = lm90_update_device(dev); >> - int temp; >> ->> if (data->kind == adt7461) +>> if (data->kind = adt7461) >> - temp = temp_from_u8_adt7461(data, data->temp8[attr->index]); >> + *temp = temp_from_u8_adt7461(data, data->temp8[index]); ->> else if (data->kind == max6646) +>> else if (data->kind = max6646) >> - temp = temp_from_u8(data->temp8[attr->index]); >> + *temp = temp_from_u8(data->temp8[index]); >> else @@ -47,9 +47,9 @@ Wei. >> + *temp = temp_from_s8(data->temp8[index]); >> >> /* +16 degrees offset for temp2 for the LM99 */ ->> - if (data->kind == lm99 && attr->index == 3) +>> - if (data->kind = lm99 && attr->index = 3) >> - temp += 16000; ->> + if (data->kind == lm99 && index == 3) +>> + if (data->kind = lm99 && index = 3) >> + *temp += 16000; >> + >> +} @@ -87,15 +87,15 @@ Wei. >> - return err; >> >> /* +16 degrees offset for temp2 for the LM99 */ ->> - if (data->kind == lm99 && attr->index == 3) ->> + if (data->kind == lm99 && index == 3) +>> - if (data->kind = lm99 && attr->index = 3) +>> + if (data->kind = lm99 && index = 3) >> val -= 16000; >> >> mutex_lock(&data->update_lock); ->> if (data->kind == adt7461) +>> if (data->kind = adt7461) >> - data->temp8[nr] = temp_to_u8_adt7461(data, val); >> + data->temp8[index] = temp_to_u8_adt7461(data, val); ->> else if (data->kind == max6646) +>> else if (data->kind = max6646) >> - data->temp8[nr] = temp_to_u8(val); >> + data->temp8[index] = temp_to_u8(val); >> else @@ -136,10 +136,10 @@ Wei. >> struct lm90_data *data = lm90_update_device(dev); >> - int temp; >> ->> if (data->kind == adt7461) +>> if (data->kind = adt7461) >> - temp = temp_from_u16_adt7461(data, data->temp11[attr->index]); >> + *temp = temp_from_u16_adt7461(data, data->temp11[index]); ->> else if (data->kind == max6646) +>> else if (data->kind = max6646) >> - temp = temp_from_u16(data->temp11[attr->index]); >> + *temp = temp_from_u16(data->temp11[index]); >> else @@ -147,9 +147,9 @@ Wei. >> + *temp = temp_from_s16(data->temp11[index]); >> >> /* +16 degrees offset for temp2 for the LM99 */ ->> - if (data->kind == lm99 && attr->index <= 2) +>> - if (data->kind = lm99 && attr->index <= 2) >> - temp += 16000; ->> + if (data->kind == lm99 && index <= 2) +>> + if (data->kind = lm99 && index <= 2) >> + *temp += 16000; >> +} >> + @@ -187,7 +187,7 @@ Wei. >> - return err; >> >> /* +16 degrees offset for temp2 for the LM99 */ ->> if (data->kind == lm99 && index <= 2) +>> if (data->kind = lm99 && index <= 2) >> @@ -839,6 +849,23 @@ static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr, >> lm90_select_remote_channel(client, data, 0); >> @@ -218,6 +218,12 @@ Wei. >> >> _______________________________________________ >> lm-sensors mailing list ->> lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org +>> lm-sensors@lm-sensors.org >> http://lists.lm-sensors.org/mailman/listinfo/lm-sensors >> + + +_______________________________________________ +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 4d0d466..58fcaf8 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,9 +2,9 @@ "ref\01361187031-3679-3-git-send-email-wni@nvidia.com\0" "ref\020130219033144.GA25610@roeck-us.net\0" "ref\020130219033144.GA25610-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org\0" - "From\0Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>\0" + "From\0Wei Ni <wni@nvidia.com>\0" "Subject\0Re: [lm-sensors] [RFC PATCH 2/9] hwmon: (lm90) split set&show temp as common codes\0" - "Date\0Tue, 19 Feb 2013 18:00:57 +0800\0" + "Date\0Tue, 19 Feb 2013 10:00:57 +0000\0" "To\0Guenter Roeck <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>\0" "Cc\0durgadoss.r-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org <durgadoss.r-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>" rui.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org <rui.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> @@ -22,7 +22,7 @@ ">> Split set&show temp codes as common functions, so we can use it directly when\n" ">> implement linux thermal framework.\n" ">>\n" - ">> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>\n" + ">> Signed-off-by: Wei Ni <wni@nvidia.com>\n" ">> ---\n" ">> drivers/hwmon/lm90.c | 117 +++++++++++++++++++++++++++++++-------------------\n" ">> 1 file changed, 72 insertions(+), 45 deletions(-)\n" @@ -55,10 +55,10 @@ ">> \tstruct lm90_data *data = lm90_update_device(dev);\n" ">> -\tint temp;\n" ">> \n" - ">> \tif (data->kind == adt7461)\n" + ">> \tif (data->kind = adt7461)\n" ">> -\t\ttemp = temp_from_u8_adt7461(data, data->temp8[attr->index]);\n" ">> +\t\t*temp = temp_from_u8_adt7461(data, data->temp8[index]);\n" - ">> \telse if (data->kind == max6646)\n" + ">> \telse if (data->kind = max6646)\n" ">> -\t\ttemp = temp_from_u8(data->temp8[attr->index]);\n" ">> +\t\t*temp = temp_from_u8(data->temp8[index]);\n" ">> \telse\n" @@ -66,9 +66,9 @@ ">> +\t\t*temp = temp_from_s8(data->temp8[index]);\n" ">> \n" ">> \t/* +16 degrees offset for temp2 for the LM99 */\n" - ">> -\tif (data->kind == lm99 && attr->index == 3)\n" + ">> -\tif (data->kind = lm99 && attr->index = 3)\n" ">> -\t\ttemp += 16000;\n" - ">> +\tif (data->kind == lm99 && index == 3)\n" + ">> +\tif (data->kind = lm99 && index = 3)\n" ">> +\t\t*temp += 16000;\n" ">> +\n" ">> +}\n" @@ -106,15 +106,15 @@ ">> -\t\treturn err;\n" ">> \n" ">> \t/* +16 degrees offset for temp2 for the LM99 */\n" - ">> -\tif (data->kind == lm99 && attr->index == 3)\n" - ">> +\tif (data->kind == lm99 && index == 3)\n" + ">> -\tif (data->kind = lm99 && attr->index = 3)\n" + ">> +\tif (data->kind = lm99 && index = 3)\n" ">> \t\tval -= 16000;\n" ">> \n" ">> \tmutex_lock(&data->update_lock);\n" - ">> \tif (data->kind == adt7461)\n" + ">> \tif (data->kind = adt7461)\n" ">> -\t\tdata->temp8[nr] = temp_to_u8_adt7461(data, val);\n" ">> +\t\tdata->temp8[index] = temp_to_u8_adt7461(data, val);\n" - ">> \telse if (data->kind == max6646)\n" + ">> \telse if (data->kind = max6646)\n" ">> -\t\tdata->temp8[nr] = temp_to_u8(val);\n" ">> +\t\tdata->temp8[index] = temp_to_u8(val);\n" ">> \telse\n" @@ -155,10 +155,10 @@ ">> \tstruct lm90_data *data = lm90_update_device(dev);\n" ">> -\tint temp;\n" ">> \n" - ">> \tif (data->kind == adt7461)\n" + ">> \tif (data->kind = adt7461)\n" ">> -\t\ttemp = temp_from_u16_adt7461(data, data->temp11[attr->index]);\n" ">> +\t\t*temp = temp_from_u16_adt7461(data, data->temp11[index]);\n" - ">> \telse if (data->kind == max6646)\n" + ">> \telse if (data->kind = max6646)\n" ">> -\t\ttemp = temp_from_u16(data->temp11[attr->index]);\n" ">> +\t\t*temp = temp_from_u16(data->temp11[index]);\n" ">> \telse\n" @@ -166,9 +166,9 @@ ">> +\t\t*temp = temp_from_s16(data->temp11[index]);\n" ">> \n" ">> \t/* +16 degrees offset for temp2 for the LM99 */\n" - ">> -\tif (data->kind == lm99 && attr->index <= 2)\n" + ">> -\tif (data->kind = lm99 && attr->index <= 2)\n" ">> -\t\ttemp += 16000;\n" - ">> +\tif (data->kind == lm99 && index <= 2)\n" + ">> +\tif (data->kind = lm99 && index <= 2)\n" ">> +\t\t*temp += 16000;\n" ">> +}\n" ">> +\n" @@ -206,7 +206,7 @@ ">> -\t\treturn err;\n" ">> \n" ">> \t/* +16 degrees offset for temp2 for the LM99 */\n" - ">> \tif (data->kind == lm99 && index <= 2)\n" + ">> \tif (data->kind = lm99 && index <= 2)\n" ">> @@ -839,6 +849,23 @@ static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr,\n" ">> \tlm90_select_remote_channel(client, data, 0);\n" ">> \n" @@ -237,8 +237,14 @@ ">>\n" ">> _______________________________________________\n" ">> lm-sensors mailing list\n" - ">> lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org\n" + ">> lm-sensors@lm-sensors.org\n" ">> http://lists.lm-sensors.org/mailman/listinfo/lm-sensors\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 -1f1cfff40f3853dfdb297c2252f098b8a236b6fe3faf941d945f65f214660b77 +24d1c6366de1beeacf05e231a701b05b09a852f3658a7741fa3539c65a1ccf83
diff --git a/a/1.txt b/N2/1.txt index a8d0072..0d64e34 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -3,7 +3,7 @@ On 02/19/2013 11:31 AM, Guenter Roeck wrote: >> Split set&show temp codes as common functions, so we can use it directly when >> implement linux thermal framework. >> ->> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> +>> Signed-off-by: Wei Ni <wni@nvidia.com> >> --- >> drivers/hwmon/lm90.c | 117 +++++++++++++++++++++++++++++++------------------- >> 1 file changed, 72 insertions(+), 45 deletions(-) @@ -218,6 +218,6 @@ Wei. >> >> _______________________________________________ >> lm-sensors mailing list ->> lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org +>> lm-sensors at lm-sensors.org >> http://lists.lm-sensors.org/mailman/listinfo/lm-sensors >> diff --git a/a/content_digest b/N2/content_digest index 4d0d466..bc396d1 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,20 +1,10 @@ "ref\01361187031-3679-1-git-send-email-wni@nvidia.com\0" "ref\01361187031-3679-3-git-send-email-wni@nvidia.com\0" "ref\020130219033144.GA25610@roeck-us.net\0" - "ref\020130219033144.GA25610-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org\0" - "From\0Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>\0" - "Subject\0Re: [lm-sensors] [RFC PATCH 2/9] hwmon: (lm90) split set&show temp as common codes\0" + "From\0wni@nvidia.com (Wei Ni)\0" + "Subject\0[lm-sensors] [RFC PATCH 2/9] hwmon: (lm90) split set&show temp as common codes\0" "Date\0Tue, 19 Feb 2013 18:00:57 +0800\0" - "To\0Guenter Roeck <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>\0" - "Cc\0durgadoss.r-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org <durgadoss.r-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>" - rui.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org <rui.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> - Matthew Longnecker <MLongnecker-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> - khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org> - linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org <linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> - devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org <devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org> - lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org <lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org> - linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org <linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> - " linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org <linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "On 02/19/2013 11:31 AM, Guenter Roeck wrote:\n" @@ -22,7 +12,7 @@ ">> Split set&show temp codes as common functions, so we can use it directly when\n" ">> implement linux thermal framework.\n" ">>\n" - ">> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>\n" + ">> Signed-off-by: Wei Ni <wni@nvidia.com>\n" ">> ---\n" ">> drivers/hwmon/lm90.c | 117 +++++++++++++++++++++++++++++++-------------------\n" ">> 1 file changed, 72 insertions(+), 45 deletions(-)\n" @@ -237,8 +227,8 @@ ">>\n" ">> _______________________________________________\n" ">> lm-sensors mailing list\n" - ">> lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org\n" + ">> lm-sensors at lm-sensors.org\n" ">> http://lists.lm-sensors.org/mailman/listinfo/lm-sensors\n" >> -1f1cfff40f3853dfdb297c2252f098b8a236b6fe3faf941d945f65f214660b77 +17e7e4daaf7f681bf57873a50af4e57d055b5efcea25740883a0c387b842775e
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.