diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2022-09-14 18:31:34 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-09-26 00:22:10 +0300 |
commit | b77f0c7680a4df2a550be5e0158204de1aa3a3ce (patch) | |
tree | 82f5c6b1cf48bb88c5131208c391f42cb50947eb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bf10ccad068088f4e31f4d4266356d1d24cf5734 (diff) | |
download | linux-b77f0c7680a4df2a550be5e0158204de1aa3a3ce.tar.xz |
hwmon: (pwm-fan) Simplify enable/disable check
Instead of comparing the current to the new pwm duty to decide whether to
enable the PWM, use a dedicated flag. Also apply the new PWM duty in any
case. This is a preparation to enable/disable the regulator dynamically.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20220914153137.613982-3-alexander.stein@ew.tq-group.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions