summaryrefslogtreecommitdiff
path: root/drivers/hwmon/w83792d.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-05-12 22:20:24 +0400
committerGuenter Roeck <linux@roeck-us.net>2014-05-22 03:02:24 +0400
commitceeaa70c0fa7fbf30a0c7a2b07dc895de22583c9 (patch)
tree02fd9f156adea87cbff20b213ffd567a3260c77a /drivers/hwmon/w83792d.c
parent84899d394e755989a1cc080083080f7695c36467 (diff)
downloadlinux-ceeaa70c0fa7fbf30a0c7a2b07dc895de22583c9.tar.xz
hwmon: (emc1403) Relax hysteresis limit write checks
Writing the hysteresis limit returned -ERANGE if the written hysteresis was too high or too low. Relax error check and adjust the hysteresis value to its valid range. Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/w83792d.c')
0 files changed, 0 insertions, 0 deletions