diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-02-17 14:01:31 +0000 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-03-04 13:17:48 +0000 |
commit | 305f655d059d68d0e2973294eb9139eaba22e83c (patch) | |
tree | 2333e66260083a837c57d3a45885df07aae4881d /tools/perf/scripts/python | |
parent | 9ab72adb90392e23701db04da6103335d4176c9f (diff) |
iio: accel: kx022a: Factor out guts of write_raw() to allow direct returns
Create a new utility function for the actions taken when direct mode
is held. This allows for direct returns, simplifying the code flow.
Cc: Matti Vaittinen <mazziesaccount@gmail.com>
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250217140135.896574-5-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions