aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2020-03-11 11:22:23 +0200
committerJonathan Cameron <[email protected]>2020-03-21 10:27:23 +0000
commit4be590e3f6ec402abe563db90afff6ce3c44737f (patch)
treedea15b7183556c013a329580d85ade807e874111 /tools/perf/scripts/python/export-to-sqlite.py
parent144eb562becf64aeff1975f99932ddba0c1616d0 (diff)
iio: adc: intel_mrfld_adc: Use be16_to_cpu() instead of get_unaligned_be16()
There is no need to call unaligned helpers on stack placed variables because compiler will align them correctly, accordingly to architectural ABI. Moreover, using bitwise type makes it explicit to see what we are reading in bulk transfer. On top of that, use sizeof() instead of magic value. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions