aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2014-07-06 11:39:24 -0700
committerGuenter Roeck <[email protected]>2014-07-07 07:15:31 -0700
commitf6c2dd20108c35e30e2c1f3c6142d189451a626b (patch)
tree85f480798ada89cfdc556c3863b653902eaae725 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent145e74a4e5022225adb84f4e5d4fff7938475c35 (diff)
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 <[email protected]> Cc: [email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions