diff options
author | 2011-11-04 12:00:46 +0100 | |
---|---|---|
committer | 2011-11-04 12:00:46 +0100 | |
commit | 24d6e2a89a1ff0a035f163a83a2812a3192083b6 (patch) | |
tree | 9cd9206f65ae126d78ab428272ee8da62e41c4a8 /Documentation/CodingStyle | |
parent | hwmon: Avoid building drivers for powerpc that read/write ISA addresses (diff) | |
download | linux-dev-24d6e2a89a1ff0a035f163a83a2812a3192083b6.tar.xz linux-dev-24d6e2a89a1ff0a035f163a83a2812a3192083b6.zip |
hwmon: (lm73) Make detection less problematic
Word reads can cause trouble with some I2C devices, so do as much
detection as we can using only byte reads, and only use a word read in
the end to confirm the positive match. Also properly handle read
errors.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Robert Casanova <robertcasanova@nanometrics.ca>
Diffstat (limited to 'Documentation/CodingStyle')
0 files changed, 0 insertions, 0 deletions