]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: adc: max1363: Convert to get_unaligned_be16
authorAbhash Jha <abhashkumarjha123@gmail.com>
Fri, 20 Sep 2024 18:14:37 +0000 (23:44 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 5 Oct 2024 11:09:13 +0000 (12:09 +0100)
commitc2c4826cfa466dac828c84335bab821766f25efa
tree080eb5d9d5869ebbe5f9daa90686ceab61e32f39
parent0159d3b89f919585aff1d4824bd4f92d33395cb8
iio: adc: max1363: Convert to get_unaligned_be16

Converted manual shifting and or to use `get_unaligned_be16` api
instead.

Signed-off-by: Abhash Jha <abhashkumarjha123@gmail.com>
Link: https://patch.msgid.link/20240920181437.20194-1-abhashkumarjha123@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/max1363.c