diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2019-11-28 15:55:27 +0100 |
---|---|---|
committer | Li Yang <leoyang.li@nxp.com> | 2019-12-09 13:54:33 -0600 |
commit | 123ee6e90b06b1b1a12cfe1f438c8faf3b21bd28 (patch) | |
tree | cecd75e8f35f93fbe21f22cb74fc0f0e19498217 /tools/wmi | |
parent | 9dab15b1a0e3fabdca9e1adb13ef946332b8c0b8 (diff) | |
download | linux-123ee6e90b06b1b1a12cfe1f438c8faf3b21bd28.tar.gz linux-123ee6e90b06b1b1a12cfe1f438c8faf3b21bd28.tar.bz2 linux-123ee6e90b06b1b1a12cfe1f438c8faf3b21bd28.zip |
soc: fsl: qe: qe.c: use of_property_read_* helpers
Instead of manually doing of_get_property/of_find_property and reading
the value by assigning to a u32* or u64* and dereferencing, use the
of_property_read_* functions.
This make the code more readable, and more importantly, is required
for this to work correctly on little-endian platforms.
Reviewed-by: Timur Tabi <timur@kernel.org>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'tools/wmi')
0 files changed, 0 insertions, 0 deletions