aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/wm831x-hwmon.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-05-27 19:58:58 +0200
committerJean Delvare <khali@linux-fr.org>2010-05-27 19:58:58 +0200
commit8d4dee98b10050db9c32a449e460a2f69bb558ec (patch)
treeeb3eff50616859bffda22485f6f8f4a5a0bbe8b1 /drivers/hwmon/wm831x-hwmon.c
parenthwmon: (tmp102) Various fixes (diff)
downloadlinux-dev-8d4dee98b10050db9c32a449e460a2f69bb558ec.tar.xz
linux-dev-8d4dee98b10050db9c32a449e460a2f69bb558ec.zip
hwmon: (tmp102) Fix suspend and resume functions
Suspend and resume functions shouldn't overwrite the configuration register. They should only alter the one bit they have to touch. Also don't assume that register reads and writes always succeed. Handle errors properly, shall they happen. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Steven King <sfking@fdwdc.com>
Diffstat (limited to 'drivers/hwmon/wm831x-hwmon.c')
0 files changed, 0 insertions, 0 deletions