From: Jean Delvare Date: Tue, 16 Aug 2011 14:28:02 +0000 Subject: Re: [lm-sensors] [PATCH 1/3] hwmon: (lm90) Simplify handling of Message-Id: <20110816162802.48b3f8d0@endymion.delvare> List-Id: References: <20110724203520.07a3f202@endymion.delvare> In-Reply-To: <20110724203520.07a3f202@endymion.delvare> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org On Wed, 27 Jul 2011 23:27:14 -0700, Guenter Roeck wrote: > On Sun, Jul 24, 2011 at 02:35:20PM -0400, Jean Delvare wrote: > > The optional extended local temperature register can never have > > address 0, as this address is already used by another register. Thus > > we can get rid of flag LM90_HAVE_LOCAL_EXT and simply rely on > > reg_local_ext being non-zero to determine if a given chip has this > > extension or not. This makes the code more simple. > > > > Signed-off-by: Jean Delvare > > Cc: Stijn Devriendt > > Cc: Guenter Roeck > > Applied (with the max6657 fix applied to the original patch breaking it). Perfect, thank you! -- Jean Delvare _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors