diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-07-28 06:22:25 (GMT) |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-07-29 03:16:35 (GMT) |
commit | a095f687f1e19c54147bd51f735717508a49e225 (patch) | |
tree | 2772a19fb7f61130e772f1364502e133f636cd18 /crypto/async_tx | |
parent | 03e9bd8dbcee60c2e22fd54f9f28f0d32da218c3 (diff) | |
download | linux-a095f687f1e19c54147bd51f735717508a49e225.tar.xz |
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 'crypto/async_tx')
0 files changed, 0 insertions, 0 deletions