aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatti Vaittinen <mazziesaccount@gmail.com>2022-10-21 16:18:43 +0300
committerGuenter Roeck <linux@roeck-us.net>2022-12-04 16:45:02 -0800
commitad804a4d82fc7ececb457c06c8ba8b3a9d0e3bfd (patch)
tree7fec52f6cfbda562d2bc86f635c82605ece42c25 /tools/perf/scripts/python
parenthwmon: use simple i2c probe (diff)
downloadlinux-ad804a4d82fc7ececb457c06c8ba8b3a9d0e3bfd.tar.gz
linux-ad804a4d82fc7ececb457c06c8ba8b3a9d0e3bfd.zip
hwmon: (lm90) simplify using devm_regulator_get_enable()
Drop open-coded pattern: 'devm_regulator_get(), regulator_enable(), add_action_or_reset(regulator_disable)' and use the devm_regulator_get_enable(). Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com> Link: https://lore.kernel.org/r/a1fa4364cbb775de25478117dd22dda0742089e3.1666357434.git.mazziesaccount@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions