summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2024-06-22 01:11:48 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-06-25 23:04:50 +0300
commit9a36aa0f36ab17819d8cb0974f18f32d0fcef2e8 (patch)
tree14d1ee7af5611ad9ede87940776f0be061dc614c /tools/perf/scripts/python/exported-sql-viewer.py
parentbb78ad627659fc7a738356951999f2ba79e68059 (diff)
downloadlinux-9a36aa0f36ab17819d8cb0974f18f32d0fcef2e8.tar.xz
iio: adc: aspeed_adc: use devm_regulator_get_enable_read_voltage()
This makes use of the devm_regulator_get_enable_read_voltage() helper function to simplify the code. The error return is moved closer to the function call to make it easier to follow the logic. And a few blank lines are added for readability. Signed-off-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au> Link: https://patch.msgid.link/20240621-iio-regulator-refactor-round-2-v1-1-49e50cd0b99a@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions