All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20130312134528.GA28019@roeck-us.net>

diff --git a/a/1.txt b/N1/1.txt
index ea3406e..3c72ec8 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -200,7 +200,7 @@ of of_property_read_u32() and return an error if a property is not defined.
 > +
 >  static inline u64 div64_u64_safe(u64 dividend, u64 divisor)
 >  {
->  	if (divisor = 0 && dividend = 0)
+>  	if (divisor == 0 && dividend == 0)
 > @@ -259,7 +345,7 @@ static int ntc_thermistor_get_ohm(struct ntc_data *data)
 >  		return data->pdata->read_ohm();
 >  
@@ -214,7 +214,8 @@ of of_property_read_u32() and return an error if a property is not defined.
 >  
 >  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;
@@ -236,13 +237,13 @@ just use
 	pdata = ntc_thermistor_parse_dt(pdev);
 	if (IS_ERR(pdata))
 		return PTR_ERR(pdata);
-	if (pdata = NULL)
+	if (pdata == NULL)
 		pdata = pdev->dev.platform_data;
 
 This way you also catch other errors returned by iio_channel_get().
 
 > +	ret = ntc_thermistor_parse_dt(pdata, pdev);
-> +	if (ret = -EPROBE_DEFER)
+> +	if (ret == -EPROBE_DEFER)
 > +		return ret;
 > +	else if (ret < 0)
 
@@ -378,9 +379,4 @@ at the beginning of the include file.
 > -- 
 > 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 2d948fe..a6ed790 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\01363077566-6254-1-git-send-email-ch.naveen@samsung.com\0"
  "From\0Guenter Roeck <linux@roeck-us.net>\0"
- "Subject\0Re: [lm-sensors] [PATCH v2] hwmon: ntc: Add DT with IIO support to NTC thermistor driver\0"
- "Date\0Tue, 12 Mar 2013 13:45:28 +0000\0"
+ "Subject\0Re: [PATCH v2] hwmon: ntc: Add DT with IIO support to NTC thermistor driver\0"
+ "Date\0Tue, 12 Mar 2013 06:45:28 -0700\0"
  "To\0Naveen Krishna Chatradhi <ch.naveen@samsung.com>\0"
  "Cc\0linux-kernel@vger.kernel.org"
   lm-sensors@lm-sensors.org
@@ -213,7 +213,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 +345,7 @@ static int ntc_thermistor_get_ohm(struct ntc_data *data)\n"
  ">  \t\treturn data->pdata->read_ohm();\n"
  ">  \n"
@@ -227,7 +227,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"
@@ -249,13 +250,13 @@
  "\tpdata = ntc_thermistor_parse_dt(pdev);\n"
  "\tif (IS_ERR(pdata))\n"
  "\t\treturn PTR_ERR(pdata);\n"
- "\tif (pdata = NULL)\n"
+ "\tif (pdata == NULL)\n"
  "\t\tpdata = pdev->dev.platform_data;\n"
  "\n"
  "This way you also catch other errors returned by iio_channel_get().\n"
  "\n"
  "> +\tret = ntc_thermistor_parse_dt(pdata, pdev);\n"
- "> +\tif (ret = -EPROBE_DEFER)\n"
+ "> +\tif (ret == -EPROBE_DEFER)\n"
  "> +\t\treturn ret;\n"
  "> +\telse if (ret < 0)\n"
  "\n"
@@ -391,11 +392,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
+ >
 
-364fa6ca400a4df963fc0c9424d96a53dbb3f1ac579d583b9fc7d05c9a2f961c
+6bab68a5f58cf6a541770c0d2fe0e88f6bace4a47eb7ad2042f0db8e79f02ce7

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.