diff options
author | 2021-11-15 21:34:53 +0100 | |
---|---|---|
committer | 2021-12-22 11:16:02 +0000 | |
commit | 0a139358548968b2ff308257b4fbeec7badcc3e1 (patch) | |
tree | 192d4f2571ff9ac5159cb91e6a43f1212182fb25 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | backlight: qcom-wled: Pass number of elements to read to read_u32_array (diff) | |
download | linux-dev-0a139358548968b2ff308257b4fbeec7badcc3e1.tar.xz linux-dev-0a139358548968b2ff308257b4fbeec7badcc3e1.zip |
backlight: qcom-wled: Use cpu_to_le16 macro to perform conversion
The kernel already provides appropriate primitives to perform endianness
conversion which should be used in favour of manual bit-wrangling.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20211115203459.1634079-4-marijn.suijten@somainline.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions