All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <87ip19sxmd.fsf@natisbad.org>

diff --git a/a/1.txt b/N1/1.txt
index 98efbdc..0e531c0 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -158,7 +158,7 @@ index 0000000..25cc6d8
 +	}
 +   }
 +
-+   g762: g762@3e {
++   g762: g762 at 3e {
 +	compatible = "gmt,g762";
 +	reg = <0x3e>;
 +	clocks = <&g762_clk>
@@ -173,7 +173,7 @@ index 0000000..923db9c
 +++ b/Documentation/hwmon/g762
 @@ -0,0 +1,65 @@
 +Kernel driver g762
-+=========
++==================
 +
 +The GMT G762 Fan Speed PWM Controller is connected directly to a fan
 +and performs closed-loop or open-loop control of the fan speed. Two
@@ -461,7 +461,7 @@ index 0000000..f111420
 +static inline unsigned int rpm_from_cnt(u8 cnt, u32 clk_freq, u16 p,
 +					u8 clk_div, u8 gear_mult)
 +{
-+	if (cnt = 0xff)  /* setting cnt to 255 stops the fan */
++	if (cnt == 0xff)  /* setting cnt to 255 stops the fan */
 +		return 0;
 +
 +	return (clk_freq * 30 * gear_mult) / ((cnt ? cnt : 1) * p * clk_div);
@@ -721,7 +721,7 @@ index 0000000..f111420
 +		 * only in PWM mode). To workaround this bug, we give SET_CNT
 +		 * value of 254 if it is 255 when switching to open-loop.
 +		 */
-+		if (data->set_cnt = 0xff)
++		if (data->set_cnt == 0xff)
 +			i2c_smbus_write_byte_data(client, G762_REG_SET_CNT,
 +						  254);
 +		break;
@@ -1149,7 +1149,7 @@ index 0000000..f111420
 + * Following documentation about hwmon's sysfs interface, a pwm1_enable node
 + * should accept followings:
 + *
-+ *  0 : no fan speed control (i.e. fan at full speed)
++ *  0 : no fan speed control (i.e. fan@full speed)
 + *  1 : manual fan speed control enabled (use pwm[1-*]) (open-loop)
 + *  2+: automatic fan speed control enabled (use fan[1-*]_target) (closed-loop)
 + *
@@ -1188,7 +1188,7 @@ index 0000000..f111420
 +/*
 + * Read and write functions for pwm1 sysfs file. Get and set pwm value
 + * (which affects fan speed) in open-loop mode. 0 stops the fan and 255
-+ * makes it run at full speed.
++ * makes it run@full speed.
 + */
 +static ssize_t get_pwm(struct device *dev, struct device_attribute *da,
 +		       char *buf)
@@ -1472,9 +1472,3 @@ index 0000000..d3c5128
 +#endif /* __LINUX_PLATFORM_DATA_G762_H__ */
 -- 
 1.7.10.4
-
-
-_______________________________________________
-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 040be5d..ba47539 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,20 +1,7 @@
  "From\0arno@natisbad.org (Arnaud Ebalard)\0"
- "Subject\0[lm-sensors] [PATCHv7 1/1] Add support for GMT G762/G763 PWM fan controllers\0"
- "Date\0Wed, 19 Jun 2013 19:34:34 +0000\0"
- "To\0Guenter Roeck <linux@roeck-us.net>\0"
- "Cc\0Andrew Lunn <andrew@lunn.ch>"
-  Russell King - ARM Linux <linux@arm.linux.org.uk>
-  Jason Cooper <jason@lakedaemon.net>
-  linux-doc@vger.kernel.org
-  devicetree-discuss@lists.ozlabs.org
-  Olivier Mouchet <olivier.mouchet@gmail.com>
-  Rob Herring <rob.herring@calxeda.com>
-  lm-sensors@lm-sensors.org
-  Grant Likely <grant.likely@secretlab.ca>
-  Rob Landley <rob@landley.net>
-  Jean Delvare <khali@linux-fr.org>
-  Linux ARM Kernel Mailing List <linux-arm-kernel@lists.infradead.org>
- " Simon Guinot <simon.guinot@sequanux.org>\0"
+ "Subject\0[PATCHv7 1/1] Add support for GMT G762/G763 PWM fan controllers\0"
+ "Date\0Wed, 19 Jun 2013 21:34:34 +0200\0"
+ "To\0linux-arm-kernel@lists.infradead.org\0"
  "\00:1\0"
  "b\0"
  "\n"
@@ -177,7 +164,7 @@
  "+\t}\n"
  "+   }\n"
  "+\n"
- "+   g762: g762@3e {\n"
+ "+   g762: g762 at 3e {\n"
  "+\tcompatible = \"gmt,g762\";\n"
  "+\treg = <0x3e>;\n"
  "+\tclocks = <&g762_clk>\n"
@@ -192,7 +179,7 @@
  "+++ b/Documentation/hwmon/g762\n"
  "@@ -0,0 +1,65 @@\n"
  "+Kernel driver g762\n"
- "+=========\n"
+ "+==================\n"
  "+\n"
  "+The GMT G762 Fan Speed PWM Controller is connected directly to a fan\n"
  "+and performs closed-loop or open-loop control of the fan speed. Two\n"
@@ -480,7 +467,7 @@
  "+static inline unsigned int rpm_from_cnt(u8 cnt, u32 clk_freq, u16 p,\n"
  "+\t\t\t\t\tu8 clk_div, u8 gear_mult)\n"
  "+{\n"
- "+\tif (cnt = 0xff)  /* setting cnt to 255 stops the fan */\n"
+ "+\tif (cnt == 0xff)  /* setting cnt to 255 stops the fan */\n"
  "+\t\treturn 0;\n"
  "+\n"
  "+\treturn (clk_freq * 30 * gear_mult) / ((cnt ? cnt : 1) * p * clk_div);\n"
@@ -740,7 +727,7 @@
  "+\t\t * only in PWM mode). To workaround this bug, we give SET_CNT\n"
  "+\t\t * value of 254 if it is 255 when switching to open-loop.\n"
  "+\t\t */\n"
- "+\t\tif (data->set_cnt = 0xff)\n"
+ "+\t\tif (data->set_cnt == 0xff)\n"
  "+\t\t\ti2c_smbus_write_byte_data(client, G762_REG_SET_CNT,\n"
  "+\t\t\t\t\t\t  254);\n"
  "+\t\tbreak;\n"
@@ -1168,7 +1155,7 @@
  "+ * Following documentation about hwmon's sysfs interface, a pwm1_enable node\n"
  "+ * should accept followings:\n"
  "+ *\n"
- "+ *  0 : no fan speed control (i.e. fan at full speed)\n"
+ "+ *  0 : no fan speed control (i.e. fan@full speed)\n"
  "+ *  1 : manual fan speed control enabled (use pwm[1-*]) (open-loop)\n"
  "+ *  2+: automatic fan speed control enabled (use fan[1-*]_target) (closed-loop)\n"
  "+ *\n"
@@ -1207,7 +1194,7 @@
  "+/*\n"
  "+ * Read and write functions for pwm1 sysfs file. Get and set pwm value\n"
  "+ * (which affects fan speed) in open-loop mode. 0 stops the fan and 255\n"
- "+ * makes it run at full speed.\n"
+ "+ * makes it run@full speed.\n"
  "+ */\n"
  "+static ssize_t get_pwm(struct device *dev, struct device_attribute *da,\n"
  "+\t\t       char *buf)\n"
@@ -1490,12 +1477,6 @@
  "+\n"
  "+#endif /* __LINUX_PLATFORM_DATA_G762_H__ */\n"
  "-- \n"
- "1.7.10.4\n"
- "\n"
- "\n"
- "_______________________________________________\n"
- "lm-sensors mailing list\n"
- "lm-sensors@lm-sensors.org\n"
- http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
+ 1.7.10.4
 
-7ba9973da23b8fdbecc37d2073c4f40367e8f7653ee5c71f038ca24b30cd3671
+9d39c3515aa8895159ac52fa09e939b8307febaf13890ba6f158de840a9214a7

diff --git a/a/1.txt b/N2/1.txt
index 98efbdc..50b51e4 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -173,7 +173,7 @@ index 0000000..923db9c
 +++ b/Documentation/hwmon/g762
 @@ -0,0 +1,65 @@
 +Kernel driver g762
-+=========
++==================
 +
 +The GMT G762 Fan Speed PWM Controller is connected directly to a fan
 +and performs closed-loop or open-loop control of the fan speed. Two
@@ -461,7 +461,7 @@ index 0000000..f111420
 +static inline unsigned int rpm_from_cnt(u8 cnt, u32 clk_freq, u16 p,
 +					u8 clk_div, u8 gear_mult)
 +{
-+	if (cnt = 0xff)  /* setting cnt to 255 stops the fan */
++	if (cnt == 0xff)  /* setting cnt to 255 stops the fan */
 +		return 0;
 +
 +	return (clk_freq * 30 * gear_mult) / ((cnt ? cnt : 1) * p * clk_div);
@@ -721,7 +721,7 @@ index 0000000..f111420
 +		 * only in PWM mode). To workaround this bug, we give SET_CNT
 +		 * value of 254 if it is 255 when switching to open-loop.
 +		 */
-+		if (data->set_cnt = 0xff)
++		if (data->set_cnt == 0xff)
 +			i2c_smbus_write_byte_data(client, G762_REG_SET_CNT,
 +						  254);
 +		break;
@@ -1472,9 +1472,3 @@ index 0000000..d3c5128
 +#endif /* __LINUX_PLATFORM_DATA_G762_H__ */
 -- 
 1.7.10.4
-
-
-_______________________________________________
-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/N2/content_digest
index 040be5d..ec2a011 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -1,6 +1,6 @@
  "From\0arno@natisbad.org (Arnaud Ebalard)\0"
- "Subject\0[lm-sensors] [PATCHv7 1/1] Add support for GMT G762/G763 PWM fan controllers\0"
- "Date\0Wed, 19 Jun 2013 19:34:34 +0000\0"
+ "Subject\0[PATCHv7 1/1] Add support for GMT G762/G763 PWM fan controllers\0"
+ "Date\0Wed, 19 Jun 2013 21:34:34 +0200\0"
  "To\0Guenter Roeck <linux@roeck-us.net>\0"
  "Cc\0Andrew Lunn <andrew@lunn.ch>"
   Russell King - ARM Linux <linux@arm.linux.org.uk>
@@ -192,7 +192,7 @@
  "+++ b/Documentation/hwmon/g762\n"
  "@@ -0,0 +1,65 @@\n"
  "+Kernel driver g762\n"
- "+=========\n"
+ "+==================\n"
  "+\n"
  "+The GMT G762 Fan Speed PWM Controller is connected directly to a fan\n"
  "+and performs closed-loop or open-loop control of the fan speed. Two\n"
@@ -480,7 +480,7 @@
  "+static inline unsigned int rpm_from_cnt(u8 cnt, u32 clk_freq, u16 p,\n"
  "+\t\t\t\t\tu8 clk_div, u8 gear_mult)\n"
  "+{\n"
- "+\tif (cnt = 0xff)  /* setting cnt to 255 stops the fan */\n"
+ "+\tif (cnt == 0xff)  /* setting cnt to 255 stops the fan */\n"
  "+\t\treturn 0;\n"
  "+\n"
  "+\treturn (clk_freq * 30 * gear_mult) / ((cnt ? cnt : 1) * p * clk_div);\n"
@@ -740,7 +740,7 @@
  "+\t\t * only in PWM mode). To workaround this bug, we give SET_CNT\n"
  "+\t\t * value of 254 if it is 255 when switching to open-loop.\n"
  "+\t\t */\n"
- "+\t\tif (data->set_cnt = 0xff)\n"
+ "+\t\tif (data->set_cnt == 0xff)\n"
  "+\t\t\ti2c_smbus_write_byte_data(client, G762_REG_SET_CNT,\n"
  "+\t\t\t\t\t\t  254);\n"
  "+\t\tbreak;\n"
@@ -1490,12 +1490,6 @@
  "+\n"
  "+#endif /* __LINUX_PLATFORM_DATA_G762_H__ */\n"
  "-- \n"
- "1.7.10.4\n"
- "\n"
- "\n"
- "_______________________________________________\n"
- "lm-sensors mailing list\n"
- "lm-sensors@lm-sensors.org\n"
- http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
+ 1.7.10.4
 
-7ba9973da23b8fdbecc37d2073c4f40367e8f7653ee5c71f038ca24b30cd3671
+dabb46f66ceb1e1398820a2888d8370d19c1b9dedbfc5d8876ed4ad83a97e11a

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.