diff options
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | 2020-09-24 11:51:00 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-09-24 17:41:30 +0300 |
commit | 10d097737dfe27bb0bf3f825b5ff28d26053a8c6 (patch) | |
tree | b63be7f6271d8008c4146cb2ffee7a4e881da56c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 55163a1c00fcb526e2aa9f7f952fb38d3543da5e (diff) | |
download | linux-10d097737dfe27bb0bf3f825b5ff28d26053a8c6.tar.xz |
hwmon: (adm9240) Use loops to avoid duplicated code
Use loops for reading temp_max and initialising FAN_MIN/TEMP_MAX rather
than duplicating code.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20200924085102.15219-2-chris.packham@alliedtelesis.co.nz
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions