All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20090304162716.131baff0@hyperion.delvare>

diff --git a/a/1.txt b/N1/1.txt
index cbd0939..47f4305 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -8,7 +8,7 @@ On Tue, 3 Mar 2009 00:04:12 -0800, Andrew Morton wrote:
 > > > "Darrick J. Wong" <djwong@us.ibm.com> wrote:
 > > > 
 > > > > @@ -776,7 +776,12 @@ static int lm90_detect(struct i2c_client *new_client, int kind,
-> > > >  			 && (reg_config1 & 0x3f) = 0x00
+> > > >  			 && (reg_config1 & 0x3f) == 0x00
 > > > >  			 && reg_convrate <= 0x07) {
 > > > >  				kind = max6646;
 > > > > -			}
@@ -16,7 +16,7 @@ On Tue, 3 Mar 2009 00:04:12 -0800, Andrew Morton wrote:
 > > > > +			/* The MAX6648/6692 chips have a working man/chip id
 > > > > +			 * and the same register set as the 6657.
 > > > > +			 */
-> > > > +			if (chip_id = 0x59 && address = 0x4C)
+> > > > +			if (chip_id == 0x59 && address == 0x4C)
 > > > > +				kind = max6657;
 > > > >  		}
 > > > 
@@ -34,15 +34,15 @@ On Tue, 3 Mar 2009 00:04:12 -0800, Andrew Morton wrote:
 > > > --- a/drivers/hwmon/lm90.c~lm90-support-the-max6648-6692-chips-fix
 > > > +++ a/drivers/hwmon/lm90.c
 > > > @@ -776,12 +776,14 @@ static int lm90_detect(struct i2c_client
-> > >  			 && (reg_config1 & 0x3f) = 0x00
+> > >  			 && (reg_config1 & 0x3f) == 0x00
 > > >  			 && reg_convrate <= 0x07) {
 > > >  				kind = max6646;
 > > > -			} else
 > > > -			/* The MAX6648/6692 chips have a working man/chip id
 > > > -			 * and the same register set as the 6657.
 > > > -			 */
-> > > -			if (chip_id = 0x59 && address = 0x4C)
-> > > +			} else if (chip_id = 0x59 && address = 0x4C) {
+> > > -			if (chip_id == 0x59 && address == 0x4C)
+> > > +			} else if (chip_id == 0x59 && address == 0x4C) {
 > > > +				/*
 > > > +				 * The MAX6648/6692 chips have a working
 > > > +				 * man/chip id and the same register set as the
@@ -65,9 +65,9 @@ On Tue, 3 Mar 2009 00:04:12 -0800, Andrew Morton wrote:
 >  						LM90_REG_R_CONVRATE)) < 0)
 >  			return -ENODEV;
 >  		
-> -		if ((address = 0x4C || address = 0x4D)
-> -		 && man_id = 0x01) { /* National Semiconductor */
-> +		if ((address = 0x4C || address = 0x4D) && man_id = 0x01) {
+> -		if ((address == 0x4C || address == 0x4D)
+> -		 && man_id == 0x01) { /* National Semiconductor */
+> +		if ((address == 0x4C || address == 0x4D) && man_id == 0x01) {
 > +			/* National Semiconductor */
 >  			int reg_config2;
 >  
@@ -75,20 +75,20 @@ On Tue, 3 Mar 2009 00:04:12 -0800, Andrew Morton wrote:
 >  						LM90_REG_R_CONFIG2)) < 0)
 >  				return -ENODEV;
 >  
-> -			if ((reg_config1 & 0x2A) = 0x00
-> -			 && (reg_config2 & 0xF8) = 0x00
+> -			if ((reg_config1 & 0x2A) == 0x00
+> -			 && (reg_config2 & 0xF8) == 0x00
 > -			 && reg_convrate <= 0x09) {
-> -				if (address = 0x4C
-> -				 && (chip_id & 0xF0) = 0x20) { /* LM90 */
-> +			if ((reg_config1 & 0x2A) = 0x00 &&
-> +			    (reg_config2 & 0xF8) = 0x00 &&
+> -				if (address == 0x4C
+> -				 && (chip_id & 0xF0) == 0x20) { /* LM90 */
+> +			if ((reg_config1 & 0x2A) == 0x00 &&
+> +			    (reg_config2 & 0xF8) == 0x00 &&
 > +			    reg_convrate <= 0x09) {
-> +				if (address = 0x4C &&
-> +				    (chip_id & 0xF0) = 0x20) { /* LM90 */
+> +				if (address == 0x4C &&
+> +				    (chip_id & 0xF0) == 0x20) { /* LM90 */
 >  					kind = lm90;
 > -				} else
-> -				if ((chip_id & 0xF0) = 0x30) { /* LM89/LM99 */
-> +				} else if ((chip_id & 0xF0) = 0x30) {
+> -				if ((chip_id & 0xF0) == 0x30) { /* LM89/LM99 */
+> +				} else if ((chip_id & 0xF0) == 0x30) {
 > +					/* LM89/LM99 */
 >  					kind = lm99;
 >  					dev_info(&adapter->dev,
@@ -98,38 +98,38 @@ On Tue, 3 Mar 2009 00:04:12 -0800, Andrew Morton wrote:
 >  						 i2c_adapter_id(adapter),
 >  						 address);
 > -				} else
-> -				if (address = 0x4C
-> -				 && (chip_id & 0xF0) = 0x10) { /* LM86 */
-> +				} else if (address = 0x4C &&
-> +					(chip_id & 0xF0) = 0x10) { /* LM86 */
+> -				if (address == 0x4C
+> -				 && (chip_id & 0xF0) == 0x10) { /* LM86 */
+> +				} else if (address == 0x4C &&
+> +					(chip_id & 0xF0) == 0x10) { /* LM86 */
 >  					kind = lm86;
 >  				}
 >  			}
 > -		} else
-> -		if ((address = 0x4C || address = 0x4D)
-> -		 && man_id = 0x41) { /* Analog Devices */
-> -			if ((chip_id & 0xF0) = 0x40 /* ADM1032 */
-> -			 && (reg_config1 & 0x3F) = 0x00
+> -		if ((address == 0x4C || address == 0x4D)
+> -		 && man_id == 0x41) { /* Analog Devices */
+> -			if ((chip_id & 0xF0) == 0x40 /* ADM1032 */
+> -			 && (reg_config1 & 0x3F) == 0x00
 > -			 && reg_convrate <= 0x0A) {
-> +		} else if ((address = 0x4C || address = 0x4D) &&
-> +				man_id = 0x41) {
+> +		} else if ((address == 0x4C || address == 0x4D) &&
+> +				man_id == 0x41) {
 > +			/* Analog Devices */
-> +			if ((chip_id & 0xF0) = 0x40  && /* ADM1032 */
-> +			    (reg_config1 & 0x3F) = 0x00 &&
+> +			if ((chip_id & 0xF0) == 0x40  && /* ADM1032 */
+> +			    (reg_config1 & 0x3F) == 0x00 &&
 > +			    reg_convrate <= 0x0A) {
 >  				kind = adm1032;
 > -			} else
-> -			if (chip_id = 0x51 /* ADT7461 */
-> -			 && (reg_config1 & 0x1B) = 0x00
+> -			if (chip_id == 0x51 /* ADT7461 */
+> -			 && (reg_config1 & 0x1B) == 0x00
 > -			 && reg_convrate <= 0x0A) {
-> +			} else if (chip_id = 0x51 && /* ADT7461 */
-> +				 (reg_config1 & 0x1B) = 0x00 &&
+> +			} else if (chip_id == 0x51 && /* ADT7461 */
+> +				 (reg_config1 & 0x1B) == 0x00 &&
 > +				 reg_convrate <= 0x0A) {
 >  				kind = adt7461;
 >  			}
 > -		} else
-> -		if (man_id = 0x4D) { /* Maxim */
-> +		} else if (man_id = 0x4D) { /* Maxim */
+> -		if (man_id == 0x4D) { /* Maxim */
+> +		} else if (man_id == 0x4D) { /* Maxim */
 >  			/*
 >  			 * The MAX6657, MAX6658 and MAX6659 do NOT have a
 >  			 * chip_id register. Reading from that address will
@@ -137,13 +137,13 @@ On Tue, 3 Mar 2009 00:04:12 -0800, Andrew Morton wrote:
 >  			 * will be those of the previous read, so in our case
 >  			 * those of the man_id register.
 >  			 */
-> -			if (chip_id = man_id
-> -			 && (address = 0x4C || address = 0x4D)
-> -			 && (reg_config1 & 0x1F) = (man_id & 0x0F)
+> -			if (chip_id == man_id
+> -			 && (address == 0x4C || address == 0x4D)
+> -			 && (reg_config1 & 0x1F) == (man_id & 0x0F)
 > -			 && reg_convrate <= 0x09) {
-> +			if (chip_id = man_id &&
-> +			    (address = 0x4C || address = 0x4D) &&
-> +			    (reg_config1 & 0x1F) = (man_id & 0x0F) &&
+> +			if (chip_id == man_id &&
+> +			    (address == 0x4C || address == 0x4D) &&
+> +			    (reg_config1 & 0x1F) == (man_id & 0x0F) &&
 > +			    reg_convrate <= 0x09) {
 >  			 	kind = max6657;
 > -			} else
@@ -153,11 +153,11 @@ On Tue, 3 Mar 2009 00:04:12 -0800, Andrew Morton wrote:
 > -			 * and should return zero when read, so should the
 > -			 * second to last bit of config1 (software reset)
 > -			 */
-> -			if (chip_id = 0x01
-> -			 && (reg_config1 & 0x03) = 0x00
+> -			if (chip_id == 0x01
+> -			 && (reg_config1 & 0x03) == 0x00
 > -			 && reg_convrate <= 0x07) {
-> +			} else if (chip_id = 0x01 &&
-> +					(reg_config1 & 0x03) = 0x00 &&
+> +			} else if (chip_id == 0x01 &&
+> +					(reg_config1 & 0x03) == 0x00 &&
 > +				 	reg_convrate <= 0x07) {
 > +				/*
 > +				 * The chip_id register of the MAX6680 and
@@ -174,11 +174,11 @@ On Tue, 3 Mar 2009 00:04:12 -0800, Andrew Morton wrote:
 > -			 * The lowest 6 bits of the config1 register are
 > -			 * unused and should return zero when read.
 > -			 */
-> -			if (chip_id = 0x59
-> -			 && (reg_config1 & 0x3f) = 0x00
+> -			if (chip_id == 0x59
+> -			 && (reg_config1 & 0x3f) == 0x00
 > -			 && reg_convrate <= 0x07) {
-> +			} else if (chip_id = 0x59 &&
-> +					(reg_config1 & 0x3f) = 0x00 &&
+> +			} else if (chip_id == 0x59 &&
+> +					(reg_config1 & 0x3f) == 0x00 &&
 > +					 reg_convrate <= 0x07) {
 > +				/*
 > +				 * The chip_id register of the MAX6646/6647/6649
@@ -187,7 +187,7 @@ On Tue, 3 Mar 2009 00:04:12 -0800, Andrew Morton wrote:
 > +				 * unused and should return zero when read.
 > +				 */
 >  				kind = max6646;
->  			} else if (chip_id = 0x59 && address = 0x4C) {
+>  			} else if (chip_id == 0x59 && address == 0x4C) {
 >  				/*
 
 Yes, something like this. But you know, the lm90 driver has a dedicated
@@ -195,8 +195,3 @@ maintainer, so you don't need to take care about this driver personally.
 
 -- 
 Jean Delvare
-
-_______________________________________________
-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 da07939..ce76249 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -3,8 +3,8 @@
  "ref\020090303084746.14462e04@hyperion.delvare\0"
  "ref\020090303000412.3c38c266.akpm@linux-foundation.org\0"
  "From\0Jean Delvare <khali@linux-fr.org>\0"
- "Subject\0Re: [lm-sensors] [PATCH] lm90: Support the MAX6648/6692 chips\0"
- "Date\0Wed, 04 Mar 2009 15:27:16 +0000\0"
+ "Subject\0Re: [PATCH] lm90: Support the MAX6648/6692 chips\0"
+ "Date\0Wed, 4 Mar 2009 16:27:16 +0100\0"
  "To\0Andrew Morton <akpm@linux-foundation.org>\0"
  "Cc\0djwong@us.ibm.com"
   linux-kernel@vger.kernel.org
@@ -21,7 +21,7 @@
  "> > > \"Darrick J. Wong\" <djwong@us.ibm.com> wrote:\n"
  "> > > \n"
  "> > > > @@ -776,7 +776,12 @@ static int lm90_detect(struct i2c_client *new_client, int kind,\n"
- "> > > >  \t\t\t && (reg_config1 & 0x3f) = 0x00\n"
+ "> > > >  \t\t\t && (reg_config1 & 0x3f) == 0x00\n"
  "> > > >  \t\t\t && reg_convrate <= 0x07) {\n"
  "> > > >  \t\t\t\tkind = max6646;\n"
  "> > > > -\t\t\t}\n"
@@ -29,7 +29,7 @@
  "> > > > +\t\t\t/* The MAX6648/6692 chips have a working man/chip id\n"
  "> > > > +\t\t\t * and the same register set as the 6657.\n"
  "> > > > +\t\t\t */\n"
- "> > > > +\t\t\tif (chip_id = 0x59 && address = 0x4C)\n"
+ "> > > > +\t\t\tif (chip_id == 0x59 && address == 0x4C)\n"
  "> > > > +\t\t\t\tkind = max6657;\n"
  "> > > >  \t\t}\n"
  "> > > \n"
@@ -47,15 +47,15 @@
  "> > > --- a/drivers/hwmon/lm90.c~lm90-support-the-max6648-6692-chips-fix\n"
  "> > > +++ a/drivers/hwmon/lm90.c\n"
  "> > > @@ -776,12 +776,14 @@ static int lm90_detect(struct i2c_client\n"
- "> > >  \t\t\t && (reg_config1 & 0x3f) = 0x00\n"
+ "> > >  \t\t\t && (reg_config1 & 0x3f) == 0x00\n"
  "> > >  \t\t\t && reg_convrate <= 0x07) {\n"
  "> > >  \t\t\t\tkind = max6646;\n"
  "> > > -\t\t\t} else\n"
  "> > > -\t\t\t/* The MAX6648/6692 chips have a working man/chip id\n"
  "> > > -\t\t\t * and the same register set as the 6657.\n"
  "> > > -\t\t\t */\n"
- "> > > -\t\t\tif (chip_id = 0x59 && address = 0x4C)\n"
- "> > > +\t\t\t} else if (chip_id = 0x59 && address = 0x4C) {\n"
+ "> > > -\t\t\tif (chip_id == 0x59 && address == 0x4C)\n"
+ "> > > +\t\t\t} else if (chip_id == 0x59 && address == 0x4C) {\n"
  "> > > +\t\t\t\t/*\n"
  "> > > +\t\t\t\t * The MAX6648/6692 chips have a working\n"
  "> > > +\t\t\t\t * man/chip id and the same register set as the\n"
@@ -78,9 +78,9 @@
  ">  \t\t\t\t\t\tLM90_REG_R_CONVRATE)) < 0)\n"
  ">  \t\t\treturn -ENODEV;\n"
  ">  \t\t\n"
- "> -\t\tif ((address = 0x4C || address = 0x4D)\n"
- "> -\t\t && man_id = 0x01) { /* National Semiconductor */\n"
- "> +\t\tif ((address = 0x4C || address = 0x4D) && man_id = 0x01) {\n"
+ "> -\t\tif ((address == 0x4C || address == 0x4D)\n"
+ "> -\t\t && man_id == 0x01) { /* National Semiconductor */\n"
+ "> +\t\tif ((address == 0x4C || address == 0x4D) && man_id == 0x01) {\n"
  "> +\t\t\t/* National Semiconductor */\n"
  ">  \t\t\tint reg_config2;\n"
  ">  \n"
@@ -88,20 +88,20 @@
  ">  \t\t\t\t\t\tLM90_REG_R_CONFIG2)) < 0)\n"
  ">  \t\t\t\treturn -ENODEV;\n"
  ">  \n"
- "> -\t\t\tif ((reg_config1 & 0x2A) = 0x00\n"
- "> -\t\t\t && (reg_config2 & 0xF8) = 0x00\n"
+ "> -\t\t\tif ((reg_config1 & 0x2A) == 0x00\n"
+ "> -\t\t\t && (reg_config2 & 0xF8) == 0x00\n"
  "> -\t\t\t && reg_convrate <= 0x09) {\n"
- "> -\t\t\t\tif (address = 0x4C\n"
- "> -\t\t\t\t && (chip_id & 0xF0) = 0x20) { /* LM90 */\n"
- "> +\t\t\tif ((reg_config1 & 0x2A) = 0x00 &&\n"
- "> +\t\t\t    (reg_config2 & 0xF8) = 0x00 &&\n"
+ "> -\t\t\t\tif (address == 0x4C\n"
+ "> -\t\t\t\t && (chip_id & 0xF0) == 0x20) { /* LM90 */\n"
+ "> +\t\t\tif ((reg_config1 & 0x2A) == 0x00 &&\n"
+ "> +\t\t\t    (reg_config2 & 0xF8) == 0x00 &&\n"
  "> +\t\t\t    reg_convrate <= 0x09) {\n"
- "> +\t\t\t\tif (address = 0x4C &&\n"
- "> +\t\t\t\t    (chip_id & 0xF0) = 0x20) { /* LM90 */\n"
+ "> +\t\t\t\tif (address == 0x4C &&\n"
+ "> +\t\t\t\t    (chip_id & 0xF0) == 0x20) { /* LM90 */\n"
  ">  \t\t\t\t\tkind = lm90;\n"
  "> -\t\t\t\t} else\n"
- "> -\t\t\t\tif ((chip_id & 0xF0) = 0x30) { /* LM89/LM99 */\n"
- "> +\t\t\t\t} else if ((chip_id & 0xF0) = 0x30) {\n"
+ "> -\t\t\t\tif ((chip_id & 0xF0) == 0x30) { /* LM89/LM99 */\n"
+ "> +\t\t\t\t} else if ((chip_id & 0xF0) == 0x30) {\n"
  "> +\t\t\t\t\t/* LM89/LM99 */\n"
  ">  \t\t\t\t\tkind = lm99;\n"
  ">  \t\t\t\t\tdev_info(&adapter->dev,\n"
@@ -111,38 +111,38 @@
  ">  \t\t\t\t\t\t i2c_adapter_id(adapter),\n"
  ">  \t\t\t\t\t\t address);\n"
  "> -\t\t\t\t} else\n"
- "> -\t\t\t\tif (address = 0x4C\n"
- "> -\t\t\t\t && (chip_id & 0xF0) = 0x10) { /* LM86 */\n"
- "> +\t\t\t\t} else if (address = 0x4C &&\n"
- "> +\t\t\t\t\t(chip_id & 0xF0) = 0x10) { /* LM86 */\n"
+ "> -\t\t\t\tif (address == 0x4C\n"
+ "> -\t\t\t\t && (chip_id & 0xF0) == 0x10) { /* LM86 */\n"
+ "> +\t\t\t\t} else if (address == 0x4C &&\n"
+ "> +\t\t\t\t\t(chip_id & 0xF0) == 0x10) { /* LM86 */\n"
  ">  \t\t\t\t\tkind = lm86;\n"
  ">  \t\t\t\t}\n"
  ">  \t\t\t}\n"
  "> -\t\t} else\n"
- "> -\t\tif ((address = 0x4C || address = 0x4D)\n"
- "> -\t\t && man_id = 0x41) { /* Analog Devices */\n"
- "> -\t\t\tif ((chip_id & 0xF0) = 0x40 /* ADM1032 */\n"
- "> -\t\t\t && (reg_config1 & 0x3F) = 0x00\n"
+ "> -\t\tif ((address == 0x4C || address == 0x4D)\n"
+ "> -\t\t && man_id == 0x41) { /* Analog Devices */\n"
+ "> -\t\t\tif ((chip_id & 0xF0) == 0x40 /* ADM1032 */\n"
+ "> -\t\t\t && (reg_config1 & 0x3F) == 0x00\n"
  "> -\t\t\t && reg_convrate <= 0x0A) {\n"
- "> +\t\t} else if ((address = 0x4C || address = 0x4D) &&\n"
- "> +\t\t\t\tman_id = 0x41) {\n"
+ "> +\t\t} else if ((address == 0x4C || address == 0x4D) &&\n"
+ "> +\t\t\t\tman_id == 0x41) {\n"
  "> +\t\t\t/* Analog Devices */\n"
- "> +\t\t\tif ((chip_id & 0xF0) = 0x40  && /* ADM1032 */\n"
- "> +\t\t\t    (reg_config1 & 0x3F) = 0x00 &&\n"
+ "> +\t\t\tif ((chip_id & 0xF0) == 0x40  && /* ADM1032 */\n"
+ "> +\t\t\t    (reg_config1 & 0x3F) == 0x00 &&\n"
  "> +\t\t\t    reg_convrate <= 0x0A) {\n"
  ">  \t\t\t\tkind = adm1032;\n"
  "> -\t\t\t} else\n"
- "> -\t\t\tif (chip_id = 0x51 /* ADT7461 */\n"
- "> -\t\t\t && (reg_config1 & 0x1B) = 0x00\n"
+ "> -\t\t\tif (chip_id == 0x51 /* ADT7461 */\n"
+ "> -\t\t\t && (reg_config1 & 0x1B) == 0x00\n"
  "> -\t\t\t && reg_convrate <= 0x0A) {\n"
- "> +\t\t\t} else if (chip_id = 0x51 && /* ADT7461 */\n"
- "> +\t\t\t\t (reg_config1 & 0x1B) = 0x00 &&\n"
+ "> +\t\t\t} else if (chip_id == 0x51 && /* ADT7461 */\n"
+ "> +\t\t\t\t (reg_config1 & 0x1B) == 0x00 &&\n"
  "> +\t\t\t\t reg_convrate <= 0x0A) {\n"
  ">  \t\t\t\tkind = adt7461;\n"
  ">  \t\t\t}\n"
  "> -\t\t} else\n"
- "> -\t\tif (man_id = 0x4D) { /* Maxim */\n"
- "> +\t\t} else if (man_id = 0x4D) { /* Maxim */\n"
+ "> -\t\tif (man_id == 0x4D) { /* Maxim */\n"
+ "> +\t\t} else if (man_id == 0x4D) { /* Maxim */\n"
  ">  \t\t\t/*\n"
  ">  \t\t\t * The MAX6657, MAX6658 and MAX6659 do NOT have a\n"
  ">  \t\t\t * chip_id register. Reading from that address will\n"
@@ -150,13 +150,13 @@
  ">  \t\t\t * will be those of the previous read, so in our case\n"
  ">  \t\t\t * those of the man_id register.\n"
  ">  \t\t\t */\n"
- "> -\t\t\tif (chip_id = man_id\n"
- "> -\t\t\t && (address = 0x4C || address = 0x4D)\n"
- "> -\t\t\t && (reg_config1 & 0x1F) = (man_id & 0x0F)\n"
+ "> -\t\t\tif (chip_id == man_id\n"
+ "> -\t\t\t && (address == 0x4C || address == 0x4D)\n"
+ "> -\t\t\t && (reg_config1 & 0x1F) == (man_id & 0x0F)\n"
  "> -\t\t\t && reg_convrate <= 0x09) {\n"
- "> +\t\t\tif (chip_id = man_id &&\n"
- "> +\t\t\t    (address = 0x4C || address = 0x4D) &&\n"
- "> +\t\t\t    (reg_config1 & 0x1F) = (man_id & 0x0F) &&\n"
+ "> +\t\t\tif (chip_id == man_id &&\n"
+ "> +\t\t\t    (address == 0x4C || address == 0x4D) &&\n"
+ "> +\t\t\t    (reg_config1 & 0x1F) == (man_id & 0x0F) &&\n"
  "> +\t\t\t    reg_convrate <= 0x09) {\n"
  ">  \t\t\t \tkind = max6657;\n"
  "> -\t\t\t} else\n"
@@ -166,11 +166,11 @@
  "> -\t\t\t * and should return zero when read, so should the\n"
  "> -\t\t\t * second to last bit of config1 (software reset)\n"
  "> -\t\t\t */\n"
- "> -\t\t\tif (chip_id = 0x01\n"
- "> -\t\t\t && (reg_config1 & 0x03) = 0x00\n"
+ "> -\t\t\tif (chip_id == 0x01\n"
+ "> -\t\t\t && (reg_config1 & 0x03) == 0x00\n"
  "> -\t\t\t && reg_convrate <= 0x07) {\n"
- "> +\t\t\t} else if (chip_id = 0x01 &&\n"
- "> +\t\t\t\t\t(reg_config1 & 0x03) = 0x00 &&\n"
+ "> +\t\t\t} else if (chip_id == 0x01 &&\n"
+ "> +\t\t\t\t\t(reg_config1 & 0x03) == 0x00 &&\n"
  "> +\t\t\t\t \treg_convrate <= 0x07) {\n"
  "> +\t\t\t\t/*\n"
  "> +\t\t\t\t * The chip_id register of the MAX6680 and\n"
@@ -187,11 +187,11 @@
  "> -\t\t\t * The lowest 6 bits of the config1 register are\n"
  "> -\t\t\t * unused and should return zero when read.\n"
  "> -\t\t\t */\n"
- "> -\t\t\tif (chip_id = 0x59\n"
- "> -\t\t\t && (reg_config1 & 0x3f) = 0x00\n"
+ "> -\t\t\tif (chip_id == 0x59\n"
+ "> -\t\t\t && (reg_config1 & 0x3f) == 0x00\n"
  "> -\t\t\t && reg_convrate <= 0x07) {\n"
- "> +\t\t\t} else if (chip_id = 0x59 &&\n"
- "> +\t\t\t\t\t(reg_config1 & 0x3f) = 0x00 &&\n"
+ "> +\t\t\t} else if (chip_id == 0x59 &&\n"
+ "> +\t\t\t\t\t(reg_config1 & 0x3f) == 0x00 &&\n"
  "> +\t\t\t\t\t reg_convrate <= 0x07) {\n"
  "> +\t\t\t\t/*\n"
  "> +\t\t\t\t * The chip_id register of the MAX6646/6647/6649\n"
@@ -200,18 +200,13 @@
  "> +\t\t\t\t * unused and should return zero when read.\n"
  "> +\t\t\t\t */\n"
  ">  \t\t\t\tkind = max6646;\n"
- ">  \t\t\t} else if (chip_id = 0x59 && address = 0x4C) {\n"
+ ">  \t\t\t} else if (chip_id == 0x59 && address == 0x4C) {\n"
  ">  \t\t\t\t/*\n"
  "\n"
  "Yes, something like this. But you know, the lm90 driver has a dedicated\n"
  "maintainer, so you don't need to take care about this driver personally.\n"
  "\n"
  "-- \n"
- "Jean Delvare\n"
- "\n"
- "_______________________________________________\n"
- "lm-sensors mailing list\n"
- "lm-sensors@lm-sensors.org\n"
- http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
+ Jean Delvare
 
-428bd9b77144ec2c9fa70e225e817994078048796a5e3d76dc44c6137bcd163e
+23d6bfb92a92938772dfd700a2a3d45e528753bf224adbb8ae18dc4474f6d391

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.