diff options
| author | Matti Vaittinen <mazziesaccount@gmail.com> | 2025-04-07 14:35:56 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-04-22 21:10:03 +0300 |
| commit | 7af2ea72d680327069ad8d9cd63052369e99bbb7 (patch) | |
| tree | afff6bfbf9c35a42d7312b011b9f801e19e513de /include/linux/timerqueue.h | |
| parent | 085831cfce61fc5e326f31eec1976414e71f4c17 (diff) | |
| download | linux-7af2ea72d680327069ad8d9cd63052369e99bbb7.tar.xz | |
iio: adc: ti-adc128s052: Simplify using be16_to_cpu()
The register data is 12-bit big-endian data. Use be16_to_cpu() to do
the conversion, and simple bitwise AND for masking to make it more
obvious.
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://patch.msgid.link/8202060d90221beb9b8cf467606641349ad47fe9.1744022065.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
