All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <201208060737.q767biox005703@ubuntu>

diff --git a/a/1.txt b/N1/1.txt
index 8410c0e..d5b52ad 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -234,7 +234,7 @@ index 0000000..a1475e4
 +{
 +	struct da9058_hwmon *hwmon = dev_get_drvdata(dev);
 +
-+	if (*buf = 'A' || *buf = 'a') {
++	if (*buf == 'A' || *buf == 'a') {
 +		if (hwmon->use_automatic_adc) {
 +			dev_info(&hwmon->pdev->dev,
 +					"already in AUTOMATIC adc_mode\n");
@@ -258,7 +258,7 @@ index 0000000..a1475e4
 +			return count;
 +		}
 +
-+	} else if (*buf = 'M' || *buf = 'm') {
++	} else if (*buf == 'M' || *buf == 'm') {
 +		if (hwmon->use_automatic_adc) {
 +			int ret;
 +			unsigned int mode = 0;
@@ -332,14 +332,14 @@ index 0000000..a1475e4
 +	struct da9058_hwmon *hwmon;
 +	int ret;
 +
-+	if (cell = NULL) {
++	if (cell == NULL) {
 +		ret = -ENODEV;
 +		goto exit;
 +	}
 +
 +	hwmon_pdata = cell->platform_data;
 +
-+	if (hwmon_pdata = NULL) {
++	if (hwmon_pdata == NULL) {
 +		ret = -EINVAL;
 +		goto exit;
 +	}
@@ -442,9 +442,3 @@ index 0000000..a1475e4
 +MODULE_ALIAS("platform:da9058-hwmon");
 -- 
 end-of-patch for NEW DRIVER V2
-
-
-_______________________________________________
-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 13b0a53..9178a2d 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,8 +1,13 @@
  "From\0Anthony Olech <anthony.olech.opensource@diasemi.com>\0"
- "Subject\0[lm-sensors] [NEW DRIVER V2 6/7] DA9058 HWMON driver\0"
- "Date\0Sun, 05 Aug 2012 20:43:44 +0000\0"
+ "Subject\0[NEW DRIVER V2 6/7] DA9058 HWMON driver\0"
+ "Date\0Sun, 5 Aug 2012 21:43:44 +0100\0"
  "To\0Guenter Roeck <guenter.roeck@ericsson.com>\0"
+ "To\0Jean Delvare <khali@linux-fr.org>\0"
  "Cc\0Mark Brown <broonie@opensource.wolfsonmicro.com>\0"
+ "Cc\0Randy Dunlop <randy.dunlap@oracle.com>\0"
+ "Cc\0lm-sensors@lm-sensors.org\0"
+ "Cc\0LKML <linux-kernel@vger.kernel.org>\0"
+ "Cc\0David Dajun Chen <david.chen@diasemi.com>\0"
  "\00:1\0"
  "b\0"
  "This is the HWMON component driver of the Dialog DA9058 PMIC.\n"
@@ -241,7 +246,7 @@
  "+{\n"
  "+\tstruct da9058_hwmon *hwmon = dev_get_drvdata(dev);\n"
  "+\n"
- "+\tif (*buf = 'A' || *buf = 'a') {\n"
+ "+\tif (*buf == 'A' || *buf == 'a') {\n"
  "+\t\tif (hwmon->use_automatic_adc) {\n"
  "+\t\t\tdev_info(&hwmon->pdev->dev,\n"
  "+\t\t\t\t\t\"already in AUTOMATIC adc_mode\\n\");\n"
@@ -265,7 +270,7 @@
  "+\t\t\treturn count;\n"
  "+\t\t}\n"
  "+\n"
- "+\t} else if (*buf = 'M' || *buf = 'm') {\n"
+ "+\t} else if (*buf == 'M' || *buf == 'm') {\n"
  "+\t\tif (hwmon->use_automatic_adc) {\n"
  "+\t\t\tint ret;\n"
  "+\t\t\tunsigned int mode = 0;\n"
@@ -339,14 +344,14 @@
  "+\tstruct da9058_hwmon *hwmon;\n"
  "+\tint ret;\n"
  "+\n"
- "+\tif (cell = NULL) {\n"
+ "+\tif (cell == NULL) {\n"
  "+\t\tret = -ENODEV;\n"
  "+\t\tgoto exit;\n"
  "+\t}\n"
  "+\n"
  "+\thwmon_pdata = cell->platform_data;\n"
  "+\n"
- "+\tif (hwmon_pdata = NULL) {\n"
+ "+\tif (hwmon_pdata == NULL) {\n"
  "+\t\tret = -EINVAL;\n"
  "+\t\tgoto exit;\n"
  "+\t}\n"
@@ -448,12 +453,6 @@
  "+MODULE_LICENSE(\"GPL v2\");\n"
  "+MODULE_ALIAS(\"platform:da9058-hwmon\");\n"
  "-- \n"
- "end-of-patch for NEW DRIVER V2\n"
- "\n"
- "\n"
- "_______________________________________________\n"
- "lm-sensors mailing list\n"
- "lm-sensors@lm-sensors.org\n"
- http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
+ end-of-patch for NEW DRIVER V2
 
-da8dffd01648691a8f58cdef1a1f8d60e3c480d5ede0b9bd0f3bba006f0df853
+1e061fc70b3187572931ec18aa5a0ac47c99d1b15787adb97d699d0ed910be3b

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.