diff for duplicates of <1435217418-26249-3-git-send-email-hpeter+linux_kernel@gmail.com> diff --git a/a/1.txt b/N1/1.txt index e50c942..3f011eb 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -54,9 +54,10 @@ index 10bc8b3..e1ba586 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 10bc8b3..e1ba586 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 10bc8b3..e1ba586 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 10bc8b3..e1ba586 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 61121e3..63c404d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01435217418-26249-1-git-send-email-hpeter+linux_kernel@gmail.com\0" "From\0Peter Hung <hpeter@gmail.com>\0" - "Subject\0[lm-sensors] [PATCH 2/3] hwmon:f71882fg fix f81866a temp/beep setting\0" - "Date\0Thu, 25 Jun 2015 07:30:17 +0000\0" + "Subject\0[PATCH 2/3] hwmon:f71882fg fix f81866a temp/beep setting\0" + "Date\0Thu, 25 Jun 2015 15:30:17 +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 -cef700ef559c3bca3de6602fbf1c9fa49e7c1d2991e50c870c99aebc550bf84c +1c14669d43871d7489a326bfd6c463501e6c77c8c29d9d46c5ecab995ee9f5c5
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.