diff for duplicates of <20130313045226.GA15611@roeck-us.net> diff --git a/a/1.txt b/N1/1.txt index 8a82852..830e974 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -214,7 +214,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(); > @@ -228,7 +228,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; @@ -239,7 +240,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) { @@ -352,9 +353,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 f843aaf..7821667 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:52:26 +0000\0" + "Subject\0Re: [PATCH v4] hwmon: ntc: Add DT with IIO support to NTC thermistor driver\0" + "Date\0Tue, 12 Mar 2013 21:52:26 -0700\0" "To\0Naveen Krishna Chatradhi <ch.naveen@samsung.com>\0" "Cc\0linux-kernel@vger.kernel.org" lm-sensors@lm-sensors.org @@ -228,7 +228,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" @@ -242,7 +242,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" @@ -253,7 +254,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" @@ -366,11 +367,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 + > -36c93bc904a1da86f444292763beea1b599321bfdda406c2c98466baac89a335 +b31abf844d0e09ca48b7e1024d5287a3872b655b026c7305a11ddf9e94a88e33
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.