diff options
author | 2016-07-05 19:10:52 -0700 | |
---|---|---|
committer | 2016-09-08 21:34:18 -0700 | |
commit | c0a4b9ec1b43ebb9d5001e3bf86f58d4ca0ffe18 (patch) | |
tree | 32040b8016e02757431a372c82535699f5d780e9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | hwmon: (lm95241) Convert to use new hwmon registration API (diff) | |
download | wireguard-linux-c0a4b9ec1b43ebb9d5001e3bf86f58d4ca0ffe18.tar.xz wireguard-linux-c0a4b9ec1b43ebb9d5001e3bf86f58d4ca0ffe18.zip |
hwmon: (lm95245) Use new hwmon registration API
Simplify code and reduce code size by using the new hwmon
registration API.
Other changes:
- Convert to use regmap, and drop local caching. This avoids reading
registers unnecessarily, and uses regmap for caching of non-volatile
registers.
- Add support for temp2_max, temp2_max_alarm, temp2_max_hyst, and
temp2_offset.
- Order include files alphabetically
- Drop FSF address
- Check errors from register read and write functions and report
to userspace.
- Accept negative hysteresis values. While unlikely, a maximum limit
_can_ be set to a value smaller than 31 degrees C, which makes negative
hysteresis values possible.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions