diff options
| author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-12-19 23:55:24 +0100 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2024-12-20 06:57:01 -0800 |
| commit | 2b64c6f652b0f5435b293d33f7d231132e987fb2 (patch) | |
| tree | 5bbd4bc328de3c19551324305213f91b29715af4 /tools/perf/scripts/python/task-analyzer.py | |
| parent | hwmon: (lm75) simplify lm75_write_config() (diff) | |
| download | linux-2b64c6f652b0f5435b293d33f7d231132e987fb2.tar.gz linux-2b64c6f652b0f5435b293d33f7d231132e987fb2.zip | |
hwmon: (lm75) simplify regulator handling
devm_regulator_get_enable() was introduced exactly to avoid open coding
regulator handling like in this driver. Make use of this helper.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20241219225522.3490-9-wsa+renesas@sang-engineering.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
