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 19:10:03 +0100 |
| commit | 7af2ea72d680327069ad8d9cd63052369e99bbb7 (patch) | |
| tree | afff6bfbf9c35a42d7312b011b9f801e19e513de /tools/perf/scripts/python/task-analyzer.py | |
| parent | 085831cfce61fc5e326f31eec1976414e71f4c17 (diff) | |
| download | linux-7af2ea72d680327069ad8d9cd63052369e99bbb7.tar.gz linux-7af2ea72d680327069ad8d9cd63052369e99bbb7.zip | |
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 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
