diff options
| author | 2021-03-14 18:14:48 +0000 | |
|---|---|---|
| committer | 2021-04-07 08:36:35 +0100 | |
| commit | add538f4beb25c8334aa40cab6cfe066e836151f (patch) | |
| tree | 65281779d9afce00c58f666aa2a90ea2887f1e6f /tools/perf/scripts/python | |
| parent | iio: inv_mpu6050: Make interrupt optional (diff) | |
staging:iio:cdc:ad7150: use swapped reads/writes for i2c rather than open coding
Reduces boilerplate and chances of getting the error handling wrong.
No functional change.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Reviewed-by: Barry Song <song.bao.hua@hisilicon>
Link: https://lore.kernel.org/r/20210314181511.531414-2-jic23@kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
