diff for duplicates of <20110208160736.GA13717@ericsson.com> diff --git a/a/1.txt b/N1/1.txt index d8ef45a..87c061f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -7,10 +7,10 @@ On Tue, Feb 08, 2011 at 10:54:52AM -0500, Eibach, Dirk wrote: > > The more common approach would be something along the line of > > data->kind = id->driver_data; > > You would then use -> > if (data->kind = lm64) +> > if (data->kind == lm64) > > throughout the code. In addition to that, you could define > > data->kind = id->driver_data; -> > if (data->kind = lm64) +> > if (data->kind == lm64) > > data->offset = 16000; > > which would save you the repeated recalculation of offset > > as mentioned before. @@ -50,10 +50,4 @@ id->driver_data is thus either lm63 or lm64, depending on the chip type detected in lm63_detect(). Thanks, -Guenter - - -_______________________________________________ -lm-sensors mailing list -lm-sensors@lm-sensors.org -http://lists.lm-sensors.org/mailman/listinfo/lm-sensors +Guenter diff --git a/a/content_digest b/N1/content_digest index 2946399..026557c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,8 +2,8 @@ "ref\020110208152815.GA13436@ericsson.com\0" "ref\048D3D52125C49B43AE880038E2E5314BB5BE41@SRV101.gdsys.de\0" "From\0Guenter Roeck <guenter.roeck@ericsson.com>\0" - "Subject\0Re: [lm-sensors] [PATCH] hwmon: Consider LM64 temperature offset\0" - "Date\0Tue, 08 Feb 2011 16:07:36 +0000\0" + "Subject\0Re: [PATCH] hwmon: Consider LM64 temperature offset\0" + "Date\0Tue, 8 Feb 2011 08:07:36 -0800\0" "To\0Eibach" " Dirk <Eibach@gdsys.de>\0" "Cc\0linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>" @@ -20,10 +20,10 @@ "> > The more common approach would be something along the line of\n" "> > \tdata->kind = id->driver_data;\n" "> > You would then use\n" - "> > \tif (data->kind = lm64)\n" + "> > \tif (data->kind == lm64)\n" "> > throughout the code. In addition to that, you could define\n" "> > \tdata->kind = id->driver_data;\n" - "> > \tif (data->kind = lm64)\n" + "> > \tif (data->kind == lm64)\n" "> > \t\tdata->offset = 16000;\n" "> > which would save you the repeated recalculation of offset \n" "> > as mentioned before.\n" @@ -63,12 +63,6 @@ "detected in lm63_detect().\n" "\n" "Thanks,\n" - "Guenter \n" - "\n" - "\n" - "_______________________________________________\n" - "lm-sensors mailing list\n" - "lm-sensors@lm-sensors.org\n" - http://lists.lm-sensors.org/mailman/listinfo/lm-sensors + Guenter -ff64fb1b42f2f2b7b60b49022cacc2959963a941a8a0f8e6e42a993bb568fdd2 +c2b0a633d4ade92a9a8ec85774c9ecdf27d546fa3da0ad33cf7b47a086935ef7
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.