]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: mt6360-adc: Converted to use get_unaligned_be16()
authorAbhash Jha <abhashkumarjha123@gmail.com>
Sat, 28 Sep 2024 16:11:08 +0000 (21:41 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 5 Oct 2024 11:09:15 +0000 (12:09 +0100)
commit41c1b5670c182cd09ce175d41c6f31b96c4adc78
treed94db460e7cd21d90b65698e24d868cf32304a06
parent0b0c0049507e554865adb4289e2d1945736fe577
iio: adc: mt6360-adc: Converted to use get_unaligned_be16()

Changed the manual shifting and adding of bytes to use
get_unaligned_be16() api instead.

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