All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <1471893103-4593-1-git-send-email-olimpiu@arcticsand.com>

diff --git a/a/1.txt b/N1/1.txt
index 95f6981..264f244 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,7 +1,7 @@
 This is the driver for the Arctic Sand Technologies Inc. ARCXCNN LED
 backlight IC family
 
-Signed-off-by: Olimpiu Dejeu <olimpiu@arcticsand.com>
+Signed-off-by: Olimpiu Dejeu <olimpiu-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org>
 
 ---
  drivers/video/backlight/Kconfig      |   7 +
@@ -109,7 +109,7 @@ index 0000000..7adfca3
 +module_param_named(iledstr, s_iledstr, int, 0644);
 +MODULE_PARM_DESC(iledstr, "Initial LED String (when no plat data)");
 +
-+static int s_retries = 2; /* 1 = only one try */
++static int s_retries = 2; /* 1 == only one try */
 +module_param_named(retries, s_retries, int, 0644);
 +MODULE_PARM_DESC(retries, "I2C retries attempted");
 +
@@ -225,17 +225,17 @@ index 0000000..7adfca3
 +		brightness = 0;
 +
 +	/* set brightness */
-+	if (lp->mode = PWM_BASED)
++	if (lp->mode == PWM_BASED)
 +		arcxcnn_pwm_ctrl(lp, brightness, bl->props.max_brightness);
-+	else if (lp->mode = REGISTER_BASED)
++	else if (lp->mode == REGISTER_BASED)
 +		arcxcnn_set_brightness(lp, brightness);
 +
 +	/* set power-on/off/save modes */
-+	if (bl->props.power = 0)
++	if (bl->props.power == 0)
 +		/* take out of standby */
 +		arcxcnn_update_bit(lp, ARCXCNN_CMD, ARCXCNN_CMD_STDBY, 0);
 +	else
-+		/* 1-3 = power save, 4 = off
++		/* 1-3 == power save, 4 = off
 +		 * place in low-power standby mode
 +		 */
 +		arcxcnn_update_bit(lp, ARCXCNN_CMD,
@@ -301,7 +301,7 @@ index 0000000..7adfca3
 +
 +	if (ledstr != lp->pdata->ledstr) {
 +		/* don't allow 0 for ledstr, use power to turn all off */
-+		if (ledstr = 0)
++		if (ledstr == 0)
 +			return 0;
 +		lp->pdata->ledstr = ledstr & 0x3F;
 +		arcxcnn_update_bit(lp, ARCXCNN_LEDEN,
@@ -316,9 +316,9 @@ index 0000000..7adfca3
 +	struct arcxcnn *lp = dev_get_drvdata(dev);
 +	char *strmode = NULL;
 +
-+	if (lp->mode = PWM_BASED)
++	if (lp->mode == PWM_BASED)
 +		strmode = "pwm based";
-+	else if (lp->mode = REGISTER_BASED)
++	else if (lp->mode == REGISTER_BASED)
 +		strmode = "register based";
 +
 +	return scnprintf(buf, PAGE_SIZE, "%s\n", strmode);
@@ -553,7 +553,7 @@ index 0000000..7adfca3
 +module_i2c_driver(arcxcnn_driver);
 +
 +MODULE_LICENSE("GPL v2");
-+MODULE_AUTHOR("Brian Dodge <bdodge09@outlook.com>");
++MODULE_AUTHOR("Brian Dodge <bdodge09-1ViLX0X+lBJBDgjK7y7TUQ@public.gmane.org>");
 +MODULE_DESCRIPTION("ARCXCNN Backlight driver");
 diff --git a/include/linux/i2c/arcxcnn.h b/include/linux/i2c/arcxcnn.h
 new file mode 100644
@@ -605,3 +605,8 @@ index 0000000..a9b7922
 +#endif
 -- 
 1.9.1
+
+--
+To unsubscribe from this list: send the line "unsubscribe devicetree" in
+the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
+More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff --git a/a/content_digest b/N1/content_digest
index 94148fd..109c229 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
- "From\0Olimpiu Dejeu <olimpiu@arcticsand.com>\0"
+ "From\0Olimpiu Dejeu <olimpiu-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org>\0"
  "Subject\0[PATCH] backlight: arcxcc: add support for ArcticSand devices\0"
- "Date\0Mon, 22 Aug 2016 19:11:43 +0000\0"
+ "Date\0Mon, 22 Aug 2016 15:11:43 -0400\0"
  "To\0lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org"
   linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
   linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
@@ -12,7 +12,7 @@
  "This is the driver for the Arctic Sand Technologies Inc. ARCXCNN LED\n"
  "backlight IC family\n"
  "\n"
- "Signed-off-by: Olimpiu Dejeu <olimpiu@arcticsand.com>\n"
+ "Signed-off-by: Olimpiu Dejeu <olimpiu-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org>\n"
  "\n"
  "---\n"
  " drivers/video/backlight/Kconfig      |   7 +\n"
@@ -120,7 +120,7 @@
  "+module_param_named(iledstr, s_iledstr, int, 0644);\n"
  "+MODULE_PARM_DESC(iledstr, \"Initial LED String (when no plat data)\");\n"
  "+\n"
- "+static int s_retries = 2; /* 1 = only one try */\n"
+ "+static int s_retries = 2; /* 1 == only one try */\n"
  "+module_param_named(retries, s_retries, int, 0644);\n"
  "+MODULE_PARM_DESC(retries, \"I2C retries attempted\");\n"
  "+\n"
@@ -236,17 +236,17 @@
  "+\t\tbrightness = 0;\n"
  "+\n"
  "+\t/* set brightness */\n"
- "+\tif (lp->mode = PWM_BASED)\n"
+ "+\tif (lp->mode == PWM_BASED)\n"
  "+\t\tarcxcnn_pwm_ctrl(lp, brightness, bl->props.max_brightness);\n"
- "+\telse if (lp->mode = REGISTER_BASED)\n"
+ "+\telse if (lp->mode == REGISTER_BASED)\n"
  "+\t\tarcxcnn_set_brightness(lp, brightness);\n"
  "+\n"
  "+\t/* set power-on/off/save modes */\n"
- "+\tif (bl->props.power = 0)\n"
+ "+\tif (bl->props.power == 0)\n"
  "+\t\t/* take out of standby */\n"
  "+\t\tarcxcnn_update_bit(lp, ARCXCNN_CMD, ARCXCNN_CMD_STDBY, 0);\n"
  "+\telse\n"
- "+\t\t/* 1-3 = power save, 4 = off\n"
+ "+\t\t/* 1-3 == power save, 4 = off\n"
  "+\t\t * place in low-power standby mode\n"
  "+\t\t */\n"
  "+\t\tarcxcnn_update_bit(lp, ARCXCNN_CMD,\n"
@@ -312,7 +312,7 @@
  "+\n"
  "+\tif (ledstr != lp->pdata->ledstr) {\n"
  "+\t\t/* don't allow 0 for ledstr, use power to turn all off */\n"
- "+\t\tif (ledstr = 0)\n"
+ "+\t\tif (ledstr == 0)\n"
  "+\t\t\treturn 0;\n"
  "+\t\tlp->pdata->ledstr = ledstr & 0x3F;\n"
  "+\t\tarcxcnn_update_bit(lp, ARCXCNN_LEDEN,\n"
@@ -327,9 +327,9 @@
  "+\tstruct arcxcnn *lp = dev_get_drvdata(dev);\n"
  "+\tchar *strmode = NULL;\n"
  "+\n"
- "+\tif (lp->mode = PWM_BASED)\n"
+ "+\tif (lp->mode == PWM_BASED)\n"
  "+\t\tstrmode = \"pwm based\";\n"
- "+\telse if (lp->mode = REGISTER_BASED)\n"
+ "+\telse if (lp->mode == REGISTER_BASED)\n"
  "+\t\tstrmode = \"register based\";\n"
  "+\n"
  "+\treturn scnprintf(buf, PAGE_SIZE, \"%s\\n\", strmode);\n"
@@ -564,7 +564,7 @@
  "+module_i2c_driver(arcxcnn_driver);\n"
  "+\n"
  "+MODULE_LICENSE(\"GPL v2\");\n"
- "+MODULE_AUTHOR(\"Brian Dodge <bdodge09@outlook.com>\");\n"
+ "+MODULE_AUTHOR(\"Brian Dodge <bdodge09-1ViLX0X+lBJBDgjK7y7TUQ@public.gmane.org>\");\n"
  "+MODULE_DESCRIPTION(\"ARCXCNN Backlight driver\");\n"
  "diff --git a/include/linux/i2c/arcxcnn.h b/include/linux/i2c/arcxcnn.h\n"
  "new file mode 100644\n"
@@ -615,6 +615,11 @@
  "+\n"
  "+#endif\n"
  "-- \n"
- 1.9.1
+ "1.9.1\n"
+ "\n"
+ "--\n"
+ "To unsubscribe from this list: send the line \"unsubscribe devicetree\" in\n"
+ "the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n"
+ More majordomo info at  http://vger.kernel.org/majordomo-info.html
 
-dc2a248c87b167b82a40efc1c2eacd879375de9e6133831cd071eff56fe356ca
+4e9c8f95955220c80cc91b990c1e6b06acc345431d802506cf278e74d186d0bd

diff --git a/a/1.txt b/N2/1.txt
index 95f6981..c87019c 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -109,7 +109,7 @@ index 0000000..7adfca3
 +module_param_named(iledstr, s_iledstr, int, 0644);
 +MODULE_PARM_DESC(iledstr, "Initial LED String (when no plat data)");
 +
-+static int s_retries = 2; /* 1 = only one try */
++static int s_retries = 2; /* 1 == only one try */
 +module_param_named(retries, s_retries, int, 0644);
 +MODULE_PARM_DESC(retries, "I2C retries attempted");
 +
@@ -225,17 +225,17 @@ index 0000000..7adfca3
 +		brightness = 0;
 +
 +	/* set brightness */
-+	if (lp->mode = PWM_BASED)
++	if (lp->mode == PWM_BASED)
 +		arcxcnn_pwm_ctrl(lp, brightness, bl->props.max_brightness);
-+	else if (lp->mode = REGISTER_BASED)
++	else if (lp->mode == REGISTER_BASED)
 +		arcxcnn_set_brightness(lp, brightness);
 +
 +	/* set power-on/off/save modes */
-+	if (bl->props.power = 0)
++	if (bl->props.power == 0)
 +		/* take out of standby */
 +		arcxcnn_update_bit(lp, ARCXCNN_CMD, ARCXCNN_CMD_STDBY, 0);
 +	else
-+		/* 1-3 = power save, 4 = off
++		/* 1-3 == power save, 4 = off
 +		 * place in low-power standby mode
 +		 */
 +		arcxcnn_update_bit(lp, ARCXCNN_CMD,
@@ -301,7 +301,7 @@ index 0000000..7adfca3
 +
 +	if (ledstr != lp->pdata->ledstr) {
 +		/* don't allow 0 for ledstr, use power to turn all off */
-+		if (ledstr = 0)
++		if (ledstr == 0)
 +			return 0;
 +		lp->pdata->ledstr = ledstr & 0x3F;
 +		arcxcnn_update_bit(lp, ARCXCNN_LEDEN,
@@ -316,9 +316,9 @@ index 0000000..7adfca3
 +	struct arcxcnn *lp = dev_get_drvdata(dev);
 +	char *strmode = NULL;
 +
-+	if (lp->mode = PWM_BASED)
++	if (lp->mode == PWM_BASED)
 +		strmode = "pwm based";
-+	else if (lp->mode = REGISTER_BASED)
++	else if (lp->mode == REGISTER_BASED)
 +		strmode = "register based";
 +
 +	return scnprintf(buf, PAGE_SIZE, "%s\n", strmode);
diff --git a/a/content_digest b/N2/content_digest
index 94148fd..d2f2acd 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -1,12 +1,12 @@
  "From\0Olimpiu Dejeu <olimpiu@arcticsand.com>\0"
  "Subject\0[PATCH] backlight: arcxcc: add support for ArcticSand devices\0"
- "Date\0Mon, 22 Aug 2016 19:11:43 +0000\0"
- "To\0lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org"
-  linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
-  linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
-  devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
- " jg1.han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org\0"
- "Cc\0Olimpiu Dejeu <olimpiu-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org>\0"
+ "Date\0Mon, 22 Aug 2016 15:11:43 -0400\0"
+ "To\0lee.jones@linaro.org"
+  linux-kernel@vger.kernel.org
+  linux-fbdev@vger.kernel.org
+  devicetree@vger.kernel.org
+ " jg1.han@samsung.com\0"
+ "Cc\0Olimpiu Dejeu <olimpiu@arcticsand.com>\0"
  "\00:1\0"
  "b\0"
  "This is the driver for the Arctic Sand Technologies Inc. ARCXCNN LED\n"
@@ -120,7 +120,7 @@
  "+module_param_named(iledstr, s_iledstr, int, 0644);\n"
  "+MODULE_PARM_DESC(iledstr, \"Initial LED String (when no plat data)\");\n"
  "+\n"
- "+static int s_retries = 2; /* 1 = only one try */\n"
+ "+static int s_retries = 2; /* 1 == only one try */\n"
  "+module_param_named(retries, s_retries, int, 0644);\n"
  "+MODULE_PARM_DESC(retries, \"I2C retries attempted\");\n"
  "+\n"
@@ -236,17 +236,17 @@
  "+\t\tbrightness = 0;\n"
  "+\n"
  "+\t/* set brightness */\n"
- "+\tif (lp->mode = PWM_BASED)\n"
+ "+\tif (lp->mode == PWM_BASED)\n"
  "+\t\tarcxcnn_pwm_ctrl(lp, brightness, bl->props.max_brightness);\n"
- "+\telse if (lp->mode = REGISTER_BASED)\n"
+ "+\telse if (lp->mode == REGISTER_BASED)\n"
  "+\t\tarcxcnn_set_brightness(lp, brightness);\n"
  "+\n"
  "+\t/* set power-on/off/save modes */\n"
- "+\tif (bl->props.power = 0)\n"
+ "+\tif (bl->props.power == 0)\n"
  "+\t\t/* take out of standby */\n"
  "+\t\tarcxcnn_update_bit(lp, ARCXCNN_CMD, ARCXCNN_CMD_STDBY, 0);\n"
  "+\telse\n"
- "+\t\t/* 1-3 = power save, 4 = off\n"
+ "+\t\t/* 1-3 == power save, 4 = off\n"
  "+\t\t * place in low-power standby mode\n"
  "+\t\t */\n"
  "+\t\tarcxcnn_update_bit(lp, ARCXCNN_CMD,\n"
@@ -312,7 +312,7 @@
  "+\n"
  "+\tif (ledstr != lp->pdata->ledstr) {\n"
  "+\t\t/* don't allow 0 for ledstr, use power to turn all off */\n"
- "+\t\tif (ledstr = 0)\n"
+ "+\t\tif (ledstr == 0)\n"
  "+\t\t\treturn 0;\n"
  "+\t\tlp->pdata->ledstr = ledstr & 0x3F;\n"
  "+\t\tarcxcnn_update_bit(lp, ARCXCNN_LEDEN,\n"
@@ -327,9 +327,9 @@
  "+\tstruct arcxcnn *lp = dev_get_drvdata(dev);\n"
  "+\tchar *strmode = NULL;\n"
  "+\n"
- "+\tif (lp->mode = PWM_BASED)\n"
+ "+\tif (lp->mode == PWM_BASED)\n"
  "+\t\tstrmode = \"pwm based\";\n"
- "+\telse if (lp->mode = REGISTER_BASED)\n"
+ "+\telse if (lp->mode == REGISTER_BASED)\n"
  "+\t\tstrmode = \"register based\";\n"
  "+\n"
  "+\treturn scnprintf(buf, PAGE_SIZE, \"%s\\n\", strmode);\n"
@@ -617,4 +617,4 @@
  "-- \n"
  1.9.1
 
-dc2a248c87b167b82a40efc1c2eacd879375de9e6133831cd071eff56fe356ca
+8f68eec90589abcdb590938495799674ab496c7c386e7598ac7fa6cfcbe8862b

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.