diff for duplicates of <20130313044648.GA10059@roeck-us.net> diff --git a/a/1.txt b/N1/1.txt index 92c3097..3409d5f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -207,7 +207,7 @@ Guenter > + > static inline u64 div64_u64_safe(u64 dividend, u64 divisor) > { -> if (divisor = 0 && dividend = 0) +> if (divisor == 0 && dividend == 0) > @@ -259,7 +361,7 @@ static int ntc_thermistor_get_ohm(struct ntc_data *data) > return data->pdata->read_ohm(); > @@ -221,7 +221,8 @@ Guenter > > static int ntc_thermistor_probe(struct platform_device *pdev) > { -> + const struct of_device_id *of_id > + of_match_device(of_match_ptr(ntc_match), &pdev->dev); +> + const struct of_device_id *of_id = +> + of_match_device(of_match_ptr(ntc_match), &pdev->dev); > + const struct platform_device_id *pdev_id; > + struct ntc_thermistor_platform_data *pdata; > struct ntc_data *data; @@ -232,7 +233,7 @@ Guenter > + pdata = ntc_thermistor_parse_dt(pdev); > + if (IS_ERR(pdata)) > + return PTR_ERR(pdata); -> + else if (pdata = NULL) +> + else if (pdata == NULL) > + pdata = pdev->dev.platform_data; > > if (!pdata) { @@ -345,9 +346,4 @@ Guenter > -- > 1.7.9.5 > -> - -_______________________________________________ -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 0572462..403be6d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\01363077566-6254-1-git-send-email-ch.naveen@samsung.com\0" "ref\01363147700-7042-1-git-send-email-ch.naveen@samsung.com\0" "From\0Guenter Roeck <linux@roeck-us.net>\0" - "Subject\0Re: [lm-sensors] [PATCH v4] hwmon: ntc: Add DT with IIO support to NTC thermistor driver\0" - "Date\0Wed, 13 Mar 2013 04:46:48 +0000\0" + "Subject\0Re: [PATCH v4] hwmon: ntc: Add DT with IIO support to NTC thermistor driver\0" + "Date\0Tue, 12 Mar 2013 21:46:48 -0700\0" "To\0Naveen Krishna Chatradhi <ch.naveen@samsung.com>\0" "Cc\0linux-kernel@vger.kernel.org" lm-sensors@lm-sensors.org @@ -221,7 +221,7 @@ "> +\n" "> static inline u64 div64_u64_safe(u64 dividend, u64 divisor)\n" "> {\n" - "> \tif (divisor = 0 && dividend = 0)\n" + "> \tif (divisor == 0 && dividend == 0)\n" "> @@ -259,7 +361,7 @@ static int ntc_thermistor_get_ohm(struct ntc_data *data)\n" "> \t\treturn data->pdata->read_ohm();\n" "> \n" @@ -235,7 +235,8 @@ "> \n" "> static int ntc_thermistor_probe(struct platform_device *pdev)\n" "> {\n" - "> +\tconst struct of_device_id *of_id > +\t\t\tof_match_device(of_match_ptr(ntc_match), &pdev->dev);\n" + "> +\tconst struct of_device_id *of_id =\n" + "> +\t\t\tof_match_device(of_match_ptr(ntc_match), &pdev->dev);\n" "> +\tconst struct platform_device_id *pdev_id;\n" "> +\tstruct ntc_thermistor_platform_data *pdata;\n" "> \tstruct ntc_data *data;\n" @@ -246,7 +247,7 @@ "> +\tpdata = ntc_thermistor_parse_dt(pdev);\n" "> +\tif (IS_ERR(pdata))\n" "> +\t\treturn PTR_ERR(pdata);\n" - "> +\telse if (pdata = NULL)\n" + "> +\telse if (pdata == NULL)\n" "> +\t\tpdata = pdev->dev.platform_data;\n" "> \n" "> \tif (!pdata) {\n" @@ -359,11 +360,6 @@ "> -- \n" "> 1.7.9.5\n" "> \n" - "> \n" - "\n" - "_______________________________________________\n" - "lm-sensors mailing list\n" - "lm-sensors@lm-sensors.org\n" - http://lists.lm-sensors.org/mailman/listinfo/lm-sensors + > -1aee54ffc76eb1d3ed3f55579cf84511acfdbbfa8a3c6e4844986e3608997fc8 +e1785c4dd75b31a97f424a7d0caf9b72612af559998ef8eb671065a07f1117f3
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.