diff for duplicates of <20130615182500.GA32205@roeck-us.net> diff --git a/a/1.txt b/N1/1.txt index 89bc756..cc6d069 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -153,7 +153,7 @@ Trailing whitespace above > + } > + } > + -> + g762: g762@3e { +> + g762: g762 at 3e { > + compatible = "gmt,g762"; > + reg = <0x3e>; > + clocks = <&g762_clk> @@ -168,7 +168,7 @@ Trailing whitespace above > +++ 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 @@ -455,7 +455,7 @@ Trailing whitespace above > +static inline unsigned int rpm_from_cnt(u8 cnt, u32 clk, u16 p, > + u8 clk_div, u8 gear_mult) > +{ -> + if (cnt = 0xff) /* cnt to 255 stops the fan */ +> + if (cnt == 0xff) /* cnt to 255 stops the fan */ setting cnt ? @@ -725,7 +725,7 @@ Same comment as above. > + * 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; @@ -975,7 +975,7 @@ it does seem to be more complicated than it has to be. > + u32 pval; > + > + prop = of_get_property(client->dev.of_node, pname, &len); -> + if (prop && len = sizeof(u32)) { +> + if (prop && len == sizeof(u32)) { > + pval = be32_to_cpu(prop[0]); > + dev_dbg(&client->dev, "found %s (%d)\n", pname, pval); > + } else { @@ -1547,9 +1547,4 @@ Please split this into multiple lines. > 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 9b3a1fb..6119504 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,20 +1,8 @@ "ref\087li6bmjwi.fsf@natisbad.org\0" - "ref\087li6bmjwi.fsf-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org\0" - "From\0Guenter Roeck <linux@roeck-us.net>\0" - "Subject\0Re: [lm-sensors] [PATCHv4 1/1] Add support for GMT G762/G763 PWM fan controllers\0" - "Date\0Sat, 15 Jun 2013 18:25:00 +0000\0" - "To\0Arnaud Ebalard <arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org>\0" - "Cc\0Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>" - Russell King - ARM Linux <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org> - Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org> - linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org - Olivier Mouchet <olivier.mouchet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> - Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org> - lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org - Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org> - Linux ARM Kernel Mailing List <linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org> - " Simon Guinot <simon.guinot-jKBdWWKqtFpg9hUCZPvPmw@public.gmane.org>\0" + "From\0linux@roeck-us.net (Guenter Roeck)\0" + "Subject\0[PATCHv4 1/1] Add support for GMT G762/G763 PWM fan controllers\0" + "Date\0Sat, 15 Jun 2013 11:25:00 -0700\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "On Sat, Jun 15, 2013 at 06:13:49PM +0200, Arnaud Ebalard wrote:\n" @@ -172,7 +160,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" @@ -187,7 +175,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" @@ -474,7 +462,7 @@ "> +static inline unsigned int rpm_from_cnt(u8 cnt, u32 clk, u16 p,\n" "> +\t\t\t\t\tu8 clk_div, u8 gear_mult)\n" "> +{\n" - "> +\tif (cnt = 0xff) /* cnt to 255 stops the fan */\n" + "> +\tif (cnt == 0xff) /* cnt to 255 stops the fan */\n" "\n" "\t\t\t\tsetting cnt ?\n" "\n" @@ -744,7 +732,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" @@ -994,7 +982,7 @@ "> +\tu32 pval;\n" "> +\n" "> +\tprop = of_get_property(client->dev.of_node, pname, &len);\n" - "> +\tif (prop && len = sizeof(u32)) {\n" + "> +\tif (prop && len == sizeof(u32)) {\n" "> +\t\tpval = be32_to_cpu(prop[0]);\n" "> +\t\tdev_dbg(&client->dev, \"found %s (%d)\\n\", pname, pval);\n" "> +\t} else {\n" @@ -1566,11 +1554,6 @@ "> 1.7.10.4\n" "> \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 + > -cdc7ce4756bb4c8c046b6d47e59a79d5b26af2c5ebc328a304a7cfd2df4b4c14 +b13ecced36f3fddccc5ee3c020ff7828ba18aca2f38b24d91d8d94266c755c8e
diff --git a/a/1.txt b/N2/1.txt index 89bc756..b2fb54b 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -8,7 +8,7 @@ On Sat, Jun 15, 2013 at 06:13:49PM +0200, Arnaud Ebalard wrote: > either using board init code or via DT. Documentation for both the > driver and DT bindings are also provided. > -> Signed-off-by: Arnaud Ebalard <arno@natisbad.org> +> Signed-off-by: Arnaud Ebalard <arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org> > --- > > Guenter, do not hesitate to tell me if changes associated with the @@ -168,7 +168,7 @@ Trailing whitespace above > +++ 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 @@ -275,7 +275,7 @@ Trailing whitespace above > + * g762 - Driver for the Global Mixed-mode Technology Inc. fan speed > + * PWM controller chips from G762 family, i.e. G762 and G763 > + * -> + * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org> +> + * Copyright (C) 2013, Arnaud EBALARD <arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org> > + * > + * This work is based on a basic version for 2.6.31 kernel developed > + * by Olivier Mouchet for LaCie. Updates and correction have been @@ -290,10 +290,10 @@ Trailing whitespace above > + * > + * Copyright (c) 2009 LaCie > + * -> + * Author: Olivier Mouchet <olivier.mouchet@gmail.com> +> + * Author: Olivier Mouchet <olivier.mouchet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > + * -> + * based on g760a code written by Herbert Valerio Riedel <hvr@gnu.org> -> + * Copyright (C) 2007 Herbert Valerio Riedel <hvr@gnu.org> +> + * based on g760a code written by Herbert Valerio Riedel <hvr-mXXj517/zsQ@public.gmane.org> +> + * Copyright (C) 2007 Herbert Valerio Riedel <hvr-mXXj517/zsQ@public.gmane.org> > + * > + * g762: minimal datasheet available at: > + * http://www.gmt.com.tw/product/datasheet/EDS-762_3.pdf @@ -455,7 +455,7 @@ Trailing whitespace above > +static inline unsigned int rpm_from_cnt(u8 cnt, u32 clk, u16 p, > + u8 clk_div, u8 gear_mult) > +{ -> + if (cnt = 0xff) /* cnt to 255 stops the fan */ +> + if (cnt == 0xff) /* cnt to 255 stops the fan */ setting cnt ? @@ -725,7 +725,7 @@ Same comment as above. > + * 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; @@ -975,7 +975,7 @@ it does seem to be more complicated than it has to be. > + u32 pval; > + > + prop = of_get_property(client->dev.of_node, pname, &len); -> + if (prop && len = sizeof(u32)) { +> + if (prop && len == sizeof(u32)) { > + pval = be32_to_cpu(prop[0]); > + dev_dbg(&client->dev, "found %s (%d)\n", pname, pval); > + } else { @@ -1497,7 +1497,7 @@ Please split this into multiple lines. > + > +module_i2c_driver(g762_driver); > + -> +MODULE_AUTHOR("Arnaud EBALARD <arno@natisbad.org>"); +> +MODULE_AUTHOR("Arnaud EBALARD <arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org>"); > +MODULE_DESCRIPTION("GMT G762/G763 driver"); > +MODULE_LICENSE("GPL"); > diff --git a/include/linux/platform_data/g762.h b/include/linux/platform_data/g762.h @@ -1509,7 +1509,7 @@ Please split this into multiple lines. > +/* > + * Platform data structure for g762 fan controller driver > + * -> + * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org> +> + * Copyright (C) 2013, Arnaud EBALARD <arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org> > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by @@ -1547,9 +1547,4 @@ Please split this into multiple lines. > 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 9b3a1fb..95d43b1 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,8 +1,8 @@ "ref\087li6bmjwi.fsf@natisbad.org\0" "ref\087li6bmjwi.fsf-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org\0" - "From\0Guenter Roeck <linux@roeck-us.net>\0" - "Subject\0Re: [lm-sensors] [PATCHv4 1/1] Add support for GMT G762/G763 PWM fan controllers\0" - "Date\0Sat, 15 Jun 2013 18:25:00 +0000\0" + "From\0Guenter Roeck <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>\0" + "Subject\0Re: [PATCHv4 1/1] Add support for GMT G762/G763 PWM fan controllers\0" + "Date\0Sat, 15 Jun 2013 11:25:00 -0700\0" "To\0Arnaud Ebalard <arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org>\0" "Cc\0Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>" Russell King - ARM Linux <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org> @@ -27,7 +27,7 @@ "> either using board init code or via DT. Documentation for both the\n" "> driver and DT bindings are also provided.\n" "> \n" - "> Signed-off-by: Arnaud Ebalard <arno@natisbad.org>\n" + "> Signed-off-by: Arnaud Ebalard <arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org>\n" "> ---\n" "> \n" "> Guenter, do not hesitate to tell me if changes associated with the\n" @@ -187,7 +187,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" @@ -294,7 +294,7 @@ "> + * g762 - Driver for the Global Mixed-mode Technology Inc. fan speed\n" "> + * PWM controller chips from G762 family, i.e. G762 and G763\n" "> + *\n" - "> + * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>\n" + "> + * Copyright (C) 2013, Arnaud EBALARD <arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org>\n" "> + *\n" "> + * This work is based on a basic version for 2.6.31 kernel developed\n" "> + * by Olivier Mouchet for LaCie. Updates and correction have been\n" @@ -309,10 +309,10 @@ "> + *\n" "> + * Copyright (c) 2009 LaCie\n" "> + *\n" - "> + * Author: Olivier Mouchet <olivier.mouchet@gmail.com>\n" + "> + * Author: Olivier Mouchet <olivier.mouchet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\n" "> + *\n" - "> + * based on g760a code written by Herbert Valerio Riedel <hvr@gnu.org>\n" - "> + * Copyright (C) 2007 Herbert Valerio Riedel <hvr@gnu.org>\n" + "> + * based on g760a code written by Herbert Valerio Riedel <hvr-mXXj517/zsQ@public.gmane.org>\n" + "> + * Copyright (C) 2007 Herbert Valerio Riedel <hvr-mXXj517/zsQ@public.gmane.org>\n" "> + *\n" "> + * g762: minimal datasheet available at:\n" "> + * http://www.gmt.com.tw/product/datasheet/EDS-762_3.pdf\n" @@ -474,7 +474,7 @@ "> +static inline unsigned int rpm_from_cnt(u8 cnt, u32 clk, u16 p,\n" "> +\t\t\t\t\tu8 clk_div, u8 gear_mult)\n" "> +{\n" - "> +\tif (cnt = 0xff) /* cnt to 255 stops the fan */\n" + "> +\tif (cnt == 0xff) /* cnt to 255 stops the fan */\n" "\n" "\t\t\t\tsetting cnt ?\n" "\n" @@ -744,7 +744,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" @@ -994,7 +994,7 @@ "> +\tu32 pval;\n" "> +\n" "> +\tprop = of_get_property(client->dev.of_node, pname, &len);\n" - "> +\tif (prop && len = sizeof(u32)) {\n" + "> +\tif (prop && len == sizeof(u32)) {\n" "> +\t\tpval = be32_to_cpu(prop[0]);\n" "> +\t\tdev_dbg(&client->dev, \"found %s (%d)\\n\", pname, pval);\n" "> +\t} else {\n" @@ -1516,7 +1516,7 @@ "> +\n" "> +module_i2c_driver(g762_driver);\n" "> +\n" - "> +MODULE_AUTHOR(\"Arnaud EBALARD <arno@natisbad.org>\");\n" + "> +MODULE_AUTHOR(\"Arnaud EBALARD <arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org>\");\n" "> +MODULE_DESCRIPTION(\"GMT G762/G763 driver\");\n" "> +MODULE_LICENSE(\"GPL\");\n" "> diff --git a/include/linux/platform_data/g762.h b/include/linux/platform_data/g762.h\n" @@ -1528,7 +1528,7 @@ "> +/*\n" "> + * Platform data structure for g762 fan controller driver\n" "> + *\n" - "> + * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>\n" + "> + * Copyright (C) 2013, Arnaud EBALARD <arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org>\n" "> + *\n" "> + * This program is free software; you can redistribute it and/or modify\n" "> + * it under the terms of the GNU General Public License as published by\n" @@ -1566,11 +1566,6 @@ "> 1.7.10.4\n" "> \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 + > -cdc7ce4756bb4c8c046b6d47e59a79d5b26af2c5ebc328a304a7cfd2df4b4c14 +a2b0d848ec6d1352a05d805156dce000976fce06f4e7e1cdd3201dfc30fcab7f
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.