diff options
| author | Jonathan Cameron <[email protected]> | 2022-10-16 17:34:00 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-11-23 19:44:01 +0000 |
| commit | eefa008b1677244d73ba47920172be36570c87c1 (patch) | |
| tree | ba1c6a8ee4d7ad26e89f6aa4f648c50c6f495b10 /tools/perf/scripts/python | |
| parent | 1fa4ff1f249983b38394ee79379e028c1c501ae5 (diff) | |
iio: accel: msa311: Use devm_regulator_get_enable()
This driver only turns the power on at probe and off via a custom
devm_add_action_or_reset() callback. The new devm_regulator_get_enable()
replaces this boilerplate code.
Signed-off-by: Jonathan Cameron <[email protected]>
Cc: Dmitry Rokosov <[email protected]>
Reviewed-by: Dmitry Rokosov <[email protected]>
Reviewed-by: Nuno Sá <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions