aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2022-10-16 17:34:08 +0100
committerJonathan Cameron <[email protected]>2022-12-28 17:19:45 +0000
commit122ef59a2a16e4542705913b905d841704e239e9 (patch)
treec3d8bcfa3337dacc730c13ca9a571d676bfb31bf /tools/perf/scripts/python
parent4da9438d293d30def46b2801fa00e176c59883d2 (diff)
iio: pressure: ms5611: Use devm_regulator_get_enable()
This driver only turns the power on at probe and off at remove. The new devm_regulator_get_enable() replaces this boilerplate code. Some additional refactoring to drop now unnecessary unwinding after this change. Signed-off-by: Jonathan Cameron <[email protected]> Cc: Tomasz Duszynski <[email protected]> Reviewed-by: Matti Vaittinen <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions