aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2022-10-16 17:34:02 +0100
committerJonathan Cameron <[email protected]>2022-11-23 19:44:01 +0000
commit9e855d77b1ec57704d23e25761a97e6e64abed66 (patch)
tree69039ea29ac6669090f57cd5e3a2e035c6742a96 /tools/perf/scripts/python
parent72ce527c7bb599ac1d64ec5393f66a673b75de6b (diff)
iio: st_sensors: core and lsm9ds0 switch to devm_regulator_bulk_get_enable()
These drivers only turns the power on at probe and off via a custom devm_add_action_or_reset() callback. The two regulators were handled separately so also switch to bulk registration. The new devm_regulator_bulk_get_enable() replaces all this boilerplate code. Signed-off-by: Jonathan Cameron <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Andy Shevchenko <[email protected]> Reviewed-by: Matti Vaittinen <[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