From a095f687f1e19c54147bd51f735717508a49e225 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 27 Jul 2011 23:22:25 -0700 Subject: [PATCH] hwmon: (lm90) Simplify handling of extended local temp register 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 Signed-off-by: Guenter Roeck --- Reading git-format-patch failed