diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-07-06 20:39:24 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-07-07 16:15:31 +0200 |
commit | f6c2dd20108c35e30e2c1f3c6142d189451a626b (patch) | |
tree | 85f480798ada89cfdc556c3863b653902eaae725 /Documentation/infiniband | |
parent | hwmon: (adm1031) Fix writes to limit registers (diff) | |
download | linux-f6c2dd20108c35e30e2c1f3c6142d189451a626b.tar.xz linux-f6c2dd20108c35e30e2c1f3c6142d189451a626b.zip |
hwmon: (emc2103) Clamp limits instead of bailing out
It is customary to clamp limits instead of bailing out with an error
if a configured limit is out of the range supported by the driver.
This simplifies limit configuration, since the user will not typically
know chip and/or driver specific limits.
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/infiniband')
0 files changed, 0 insertions, 0 deletions