diff for duplicates of <1435627870-12249-3-git-send-email-hpeter+linux_kernel@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 2265eb9..3edf4ac 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -54,9 +54,10 @@ index daf4e28..c065aec 100644 @@ -2296,7 +2314,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 daf4e28..c065aec 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 daf4e28..c065aec 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 daf4e28..c065aec 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 58ab39f..a52db6d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01435627870-12249-1-git-send-email-hpeter+linux_kernel@gmail.com\0" "From\0Peter Hung <hpeter@gmail.com>\0" - "Subject\0[lm-sensors] [PATCH V2 2/3] hwmon:f71882fg fix f81866a temp/beep setting\0" - "Date\0Tue, 30 Jun 2015 01:31:09 +0000\0" + "Subject\0[PATCH V2 2/3] hwmon:f71882fg fix f81866a temp/beep setting\0" + "Date\0Tue, 30 Jun 2015 09:31:09 +0800\0" "To\0jdelvare@suse.de" " linux@roeck-us.net\0" "Cc\0lm-sensors@lm-sensors.org" @@ -67,9 +67,10 @@ "@@ -2296,7 +2314,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 -56f71b7fd4942a50a168a74070309caa7ec5a3d3b35a20756e6a2e1737d0091e +bdf6533cdead7ed85c00f4448b2b0ddcc5f43879b9933ef81fe8b3626117658d
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.