diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-03-14 18:14:48 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-04-07 08:36:35 +0100 |
| commit | add538f4beb25c8334aa40cab6cfe066e836151f (patch) | |
| tree | 65281779d9afce00c58f666aa2a90ea2887f1e6f /include/linux/stackprotector.h | |
| parent | a71654af0a2199503c02e996b386d335158e0818 (diff) | |
| download | cachepc-linux-add538f4beb25c8334aa40cab6cfe066e836151f.tar.gz cachepc-linux-add538f4beb25c8334aa40cab6cfe066e836151f.zip | |
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 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
