[lm-sensors] [PATCH 1/3] hwmon: (lm90) Simplify handling of extended local temp register

Guenter Roeck guenter.roeck at ericsson.com
Thu Jul 28 08:27:14 CEST 2011


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 <khali at linux-fr.org>
> Cc: Stijn Devriendt <sdevrien at cisco.com>
> Cc: Guenter Roeck <guenter.roeck at ericsson.com>

Applied (with the max6657 fix applied to the original patch breaking it).

Thanks,
Guenter




More information about the lm-sensors mailing list