diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-12-20 01:55:24 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-12-20 17:57:01 +0300 |
commit | 2b64c6f652b0f5435b293d33f7d231132e987fb2 (patch) | |
tree | 5bbd4bc328de3c19551324305213f91b29715af4 /tools/perf/scripts/python/gecko.py | |
parent | c4d08cf8a03eb9b14858a9b8cf8f4d71a639da57 (diff) | |
download | linux-2b64c6f652b0f5435b293d33f7d231132e987fb2.tar.xz |
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/gecko.py')
0 files changed, 0 insertions, 0 deletions