aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSean Nyekjaer <sean@geanix.com>2025-09-01 09:49:16 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-09-10 19:47:06 +0100
commit9fd569aa3d70963171846dd674c1c41ff900410f (patch)
treebf67ddb5623cff0015d2c92d8d79df8e2f340ccd /tools/perf/scripts/python/bin
parentiio: imu: inv_icm42600: Avoid configuring if already pm_runtime suspended (diff)
downloadlinux-9fd569aa3d70963171846dd674c1c41ff900410f.tar.gz
linux-9fd569aa3d70963171846dd674c1c41ff900410f.zip
iio: imu: inv_icm42600: Use devm_regulator_get_enable() for vdd regulator
The vdd regulator is not used for runtime power management, so it does not need explicit enable/disable handling. Use devm_regulator_get_enable() to let the regulator be managed automatically by devm. This simplifies the code by removing the manual enable and cleanup logic. Signed-off-by: Sean Nyekjaer <sean@geanix.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20250901-icm42pmreg-v3-4-ef1336246960@geanix.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions