diff for duplicates of <20110805143447.GA2538@ericsson.com> diff --git a/a/1.txt b/N1/1.txt index 997f2d8..b05a768 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -109,7 +109,8 @@ Seems to be unnecessary. > + return count; > +} > + -> +static struct sensor_device_attribute sda_caseopen > + SENSOR_ATTR(intrusion0_alarm, S_IWUSR | S_IRUGO, show_caseopen, +> +static struct sensor_device_attribute sda_caseopen = +> + SENSOR_ATTR(intrusion0_alarm, S_IWUSR | S_IRUGO, show_caseopen, > + store_caseopen_clear , 12); > + Formatting: s/ , /, / @@ -133,7 +134,7 @@ Formatting: s/ , /, / > + * FIXME: if NCT chips have same caseopen registers as w83627 ones > + * this check can be removed > + */ -> + if (!(sio_data->kind = nct6775 || sio_data->kind = nct6776)) +> + if (!(sio_data->kind == nct6775 || sio_data->kind == nct6776)) > + device_remove_file(dev, &sda_caseopen.dev_attr); > + Please remove the check. @@ -149,7 +150,7 @@ Please remove the check. > + * FIXME: if NCT chips have same caseopen registers as w83627 ones > + * this check can be removed > + */ -> + if (!(sio_data->kind = nct6775 || sio_data->kind = nct6776)) { +> + if (!(sio_data->kind == nct6775 || sio_data->kind == nct6776)) { > + err = device_create_file(dev, &sda_caseopen.dev_attr); > + if (err) > + goto exit_remove; @@ -162,9 +163,4 @@ Please remove the check. > goto exit_remove; > -- > 1.7.5.1.300.gc565c -> - -_______________________________________________ -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 3b63cf6..d55b683 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01312549243-7503-1-git-send-email-mad_soft@inbox.ru\0" "From\0Guenter Roeck <guenter.roeck@ericsson.com>\0" - "Subject\0Re: [lm-sensors] [PATCH] hwmon: add caseopen detection to w83627ehf\0" - "Date\0Fri, 05 Aug 2011 14:34:47 +0000\0" + "Subject\0Re: [PATCH] hwmon: add caseopen detection to w83627ehf driver\0" + "Date\0Fri, 5 Aug 2011 07:34:47 -0700\0" "To\0Dmitry Artamonow <mad_soft@inbox.ru>\0" "Cc\0lm-sensors@lm-sensors.org <lm-sensors@lm-sensors.org>" Ian Dobson <i.dobson@planet-ian.com> @@ -120,7 +120,8 @@ "> +\treturn count;\n" "> +}\n" "> +\n" - "> +static struct sensor_device_attribute sda_caseopen > +\tSENSOR_ATTR(intrusion0_alarm, S_IWUSR | S_IRUGO, show_caseopen,\n" + "> +static struct sensor_device_attribute sda_caseopen =\n" + "> +\tSENSOR_ATTR(intrusion0_alarm, S_IWUSR | S_IRUGO, show_caseopen,\n" "> +\t\t\tstore_caseopen_clear , 12);\n" "> +\n" "Formatting: s/ , /, /\n" @@ -144,7 +145,7 @@ "> +\t * FIXME: if NCT chips have same caseopen registers as w83627 ones\n" "> +\t * this check can be removed\n" "> +\t */\n" - "> +\tif (!(sio_data->kind = nct6775 || sio_data->kind = nct6776))\n" + "> +\tif (!(sio_data->kind == nct6775 || sio_data->kind == nct6776))\n" "> +\t\tdevice_remove_file(dev, &sda_caseopen.dev_attr);\n" "> +\n" "Please remove the check.\n" @@ -160,7 +161,7 @@ "> +\t * FIXME: if NCT chips have same caseopen registers as w83627 ones\n" "> +\t * this check can be removed\n" "> +\t */\n" - "> +\tif (!(sio_data->kind = nct6775 || sio_data->kind = nct6776)) {\n" + "> +\tif (!(sio_data->kind == nct6775 || sio_data->kind == nct6776)) {\n" "> +\t\terr = device_create_file(dev, &sda_caseopen.dev_attr);\n" "> +\t\tif (err)\n" "> +\t\t\tgoto exit_remove;\n" @@ -173,11 +174,6 @@ "> \t\tgoto exit_remove;\n" "> -- \n" "> 1.7.5.1.300.gc565c\n" - "> \n" - "\n" - "_______________________________________________\n" - "lm-sensors mailing list\n" - "lm-sensors@lm-sensors.org\n" - http://lists.lm-sensors.org/mailman/listinfo/lm-sensors + > -9c08c10502f4db9103deda4de1084ae4a8ae8155f9220e68a3b51e63bc146ae0 +a1b27abb4da8d7bc9d0390bf630bc174406653fc2c24cbf9a593076534eb3555
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.