diff for duplicates of <1436257358-31360-3-git-send-email-hpeter+linux_kernel@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 3b1d340..932ddd3 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -54,9 +54,10 @@ index 3a7185a..79f1f50 100644 @@ -2297,7 +2315,8 @@ static int f71882fg_probe(struct platform_device *pdev) data->addr = platform_get_resource(pdev, IORESOURCE_IO, 0)->start; data->type = sio_data->type; - data->temp_start - (data->type = f71858fg || data->type = f8000) ? 0 : 1; -+ (data->type = f71858fg || data->type = f8000 || -+ data->type = f81866a) ? 0 : 1; + data->temp_start = +- (data->type == f71858fg || data->type == f8000) ? 0 : 1; ++ (data->type == f71858fg || data->type == f8000 || ++ data->type == f81866a) ? 0 : 1; mutex_init(&data->update_lock); platform_set_drvdata(pdev, data); @@ -80,7 +81,7 @@ index 3a7185a..79f1f50 100644 - &fxxxx_temp_beep_attr[0][0], - ARRAY_SIZE(fxxxx_temp_beep_attr[0]) - * nr_temps); -+ if (data->type = f81866a) { ++ if (data->type == f81866a) { + size = ARRAY_SIZE(f81866_temp_beep_attr[0]); + err = f71882fg_create_sysfs_files(pdev, + &f81866_temp_beep_attr[0][0], @@ -113,7 +114,7 @@ index 3a7185a..79f1f50 100644 - f71882fg_remove_sysfs_files(pdev, - &fxxxx_temp_beep_attr[0][0], - ARRAY_SIZE(fxxxx_temp_beep_attr[0]) * nr_temps); -+ if (data->type = f81866a) ++ if (data->type == f81866a) + f71882fg_remove_sysfs_files(pdev, + &f81866_temp_beep_attr[0][0], + ARRAY_SIZE(f81866_temp_beep_attr[0]) @@ -128,9 +129,3 @@ index 3a7185a..79f1f50 100644 for (i = 0; i < F71882FG_MAX_INS; i++) { -- 1.9.1 - - -_______________________________________________ -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 2af0980..10128c6 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01436257358-31360-1-git-send-email-hpeter+linux_kernel@gmail.com\0" "From\0Peter Hung <hpeter@gmail.com>\0" - "Subject\0[lm-sensors] [PATCH V3 2/3] hwmon:f71882fg fix f81866a temp/beep setting\0" - "Date\0Tue, 07 Jul 2015 08:22:37 +0000\0" + "Subject\0[PATCH V3 2/3] hwmon:f71882fg fix f81866a temp/beep setting\0" + "Date\0Tue, 7 Jul 2015 16:22:37 +0800\0" "To\0jdelvare@suse.de" " linux@roeck-us.net\0" "Cc\0lm-sensors@lm-sensors.org" @@ -67,9 +67,10 @@ "@@ -2297,7 +2315,8 @@ static int f71882fg_probe(struct platform_device *pdev)\n" " \tdata->addr = platform_get_resource(pdev, IORESOURCE_IO, 0)->start;\n" " \tdata->type = sio_data->type;\n" - " \tdata->temp_start -\t (data->type = f71858fg || data->type = f8000) ? 0 : 1;\n" - "+\t (data->type = f71858fg || data->type = f8000 ||\n" - "+\t\tdata->type = f81866a) ? 0 : 1;\n" + " \tdata->temp_start =\n" + "-\t (data->type == f71858fg || data->type == f8000) ? 0 : 1;\n" + "+\t (data->type == f71858fg || data->type == f8000 ||\n" + "+\t\tdata->type == f81866a) ? 0 : 1;\n" " \tmutex_init(&data->update_lock);\n" " \tplatform_set_drvdata(pdev, data);\n" " \n" @@ -93,7 +94,7 @@ "-\t\t\t\t\t&fxxxx_temp_beep_attr[0][0],\n" "-\t\t\t\t\tARRAY_SIZE(fxxxx_temp_beep_attr[0])\n" "-\t\t\t\t\t\t* nr_temps);\n" - "+\t\t\tif (data->type = f81866a) {\n" + "+\t\t\tif (data->type == f81866a) {\n" "+\t\t\t\tsize = ARRAY_SIZE(f81866_temp_beep_attr[0]);\n" "+\t\t\t\terr = f71882fg_create_sysfs_files(pdev,\n" "+\t\t\t\t\t\t&f81866_temp_beep_attr[0][0],\n" @@ -126,7 +127,7 @@ "-\t\t\tf71882fg_remove_sysfs_files(pdev,\n" "-\t\t\t &fxxxx_temp_beep_attr[0][0],\n" "-\t\t\t ARRAY_SIZE(fxxxx_temp_beep_attr[0]) * nr_temps);\n" - "+\t\t\tif (data->type = f81866a)\n" + "+\t\t\tif (data->type == f81866a)\n" "+\t\t\t\tf71882fg_remove_sysfs_files(pdev,\n" "+\t\t\t\t\t&f81866_temp_beep_attr[0][0],\n" "+\t\t\t\t\tARRAY_SIZE(f81866_temp_beep_attr[0])\n" @@ -140,12 +141,6 @@ " \n" " \t\tfor (i = 0; i < F71882FG_MAX_INS; i++) {\n" "-- \n" - "1.9.1\n" - "\n" - "\n" - "_______________________________________________\n" - "lm-sensors mailing list\n" - "lm-sensors@lm-sensors.org\n" - http://lists.lm-sensors.org/mailman/listinfo/lm-sensors + 1.9.1 -93d1afdfb985243ee989b43686ff52fe158e93b5e7ff8b62ab4744f3679c90f7 +4a021fa4d51a7d57463da06a9e90e79a5ed65fb5c196651a43e921da38a845fe
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.