diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-03-31 13:12:53 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-04-22 19:09:59 +0100 |
| commit | db532a4114c7d35c3cf53a960e92ac4b00aea49c (patch) | |
| tree | 82d5ce04b2c4a0353428256cb6f5df1b4868db9c /tools/perf/scripts/python/parallel-perf.py | |
| parent | 35a34861ce8f719a32dc375a8c200dcf4774f21e (diff) | |
| download | linux-db532a4114c7d35c3cf53a960e92ac4b00aea49c.tar.gz linux-db532a4114c7d35c3cf53a960e92ac4b00aea49c.zip | |
iio: humidity: hts211: Factor out everything under direct mode claim into helper functions.
Pulling out the functionality of read_raw() and write_raw() callbacks
so that only the mode claim is done in the initial call allows for
direct returns and simpler error handling in the new __hts211_write_raw()
/ __hts211_read_raw() functions.
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Link: https://patch.msgid.link/20250331121317.1694135-14-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
