diff for duplicates of <1445892399-3291-1-git-send-email-const@makelinux.com> diff --git a/a/1.txt b/N1/1.txt index aa21941..dc938e0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -126,8 +126,10 @@ index 3ce33d2..dee9eb3 100644 + } + pdata->fan_dc[reg] = 1; + } -+ pdata->fan_od[reg] + of_property_read_bool(child, "open-drain"); -+ pdata->fan_inv[reg] + of_property_read_bool(child, "invert"); ++ pdata->fan_od[reg] = ++ of_property_read_bool(child, "open-drain"); ++ pdata->fan_inv[reg] = ++ of_property_read_bool(child, "invert"); + } else if (of_device_is_compatible(child, + "nuvoton,nct7802-peci")) { + if (reg >= ARRAY_SIZE(pdata->peci_enable)) { @@ -236,7 +238,7 @@ index 3ce33d2..dee9eb3 100644 +#endif + data = devm_kzalloc(dev, sizeof(*data), GFP_KERNEL); - if (data = NULL) + if (data == NULL) return -ENOMEM; @@ -1113,7 +1288,10 @@ static int nct7802_probe(struct i2c_client *client, @@ -269,9 +271,3 @@ index 3ce33d2..dee9eb3 100644 .probe = nct7802_probe, -- 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 b2215b3..f8e0b06 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,10 +1,10 @@ "From\0Constantine Shulyupin <const@makelinux.com>\0" - "Subject\0[lm-sensors] [PATCH v3] hwmon: (nct7802) Add device tree support\0" - "Date\0Mon, 26 Oct 2015 20:46:38 +0000\0" + "Subject\0[PATCH v3] hwmon: (nct7802) Add device tree support\0" + "Date\0Mon, 26 Oct 2015 22:46:38 +0200\0" "To\0Jean Delvare <jdelvare@suse.com>" Guenter Roeck <linux@roeck-us.net> - open list:HARDWARE MONITORING <lm-sensors@lm-sensors.org> - " open list <linux-kernel@vger.kernel.org>\0" + lm-sensors@lm-sensors.org (open list:HARDWARE MONITORING) + " linux-kernel@vger.kernel.org (open list)\0" "Cc\0Constantine Shulyupin <const@makelinux.com>\0" "\00:1\0" "b\0" @@ -136,8 +136,10 @@ "+\t\t\t\t}\n" "+\t\t\t\tpdata->fan_dc[reg] = 1;\n" "+\t\t\t}\n" - "+\t\t\tpdata->fan_od[reg] +\t\t\t\tof_property_read_bool(child, \"open-drain\");\n" - "+\t\t\tpdata->fan_inv[reg] +\t\t\t\tof_property_read_bool(child, \"invert\");\n" + "+\t\t\tpdata->fan_od[reg] =\n" + "+\t\t\t\tof_property_read_bool(child, \"open-drain\");\n" + "+\t\t\tpdata->fan_inv[reg] =\n" + "+\t\t\t\tof_property_read_bool(child, \"invert\");\n" "+\t\t} else if (of_device_is_compatible(child,\n" "+\t\t\t\t\t\t \"nuvoton,nct7802-peci\")) {\n" "+\t\t\tif (reg >= ARRAY_SIZE(pdata->peci_enable)) {\n" @@ -246,7 +248,7 @@ "+#endif\n" "+\n" " \tdata = devm_kzalloc(dev, sizeof(*data), GFP_KERNEL);\n" - " \tif (data = NULL)\n" + " \tif (data == NULL)\n" " \t\treturn -ENOMEM;\n" "@@ -1113,7 +1288,10 @@ static int nct7802_probe(struct i2c_client *client,\n" " \n" @@ -278,12 +280,6 @@ " \t.detect = nct7802_detect,\n" " \t.probe = nct7802_probe,\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 -c45621bf15d065f6cdc5fc0cd52a0ba93cd807145d43594ba14d9477240d5cc5 +67ce95d8d45a9cc121d730359f754ba659918232290217ea8c8add10f923c9fa
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.