summaryrefslogtreecommitdiffstats
path: root/fs/proc/root.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2011-07-27 23:22:25 -0700
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-07-28 20:16:35 -0700
commita095f687f1e19c54147bd51f735717508a49e225 (patch)
tree2772a19fb7f61130e772f1364502e133f636cd18 /fs/proc/root.c
parent03e9bd8dbcee60c2e22fd54f9f28f0d32da218c3 (diff)
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 <khali@linux-fr.org> Cc: Stijn Devriendt <sdevrien@cisco.com> Cc: Guenter Roeck <guenter.roeck@ericsson.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'fs/proc/root.c')
0 files changed, 0 insertions, 0 deletions