diff options
| author | Rob Herring (Arm) <[email protected]> | 2024-08-28 08:18:51 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-09-03 12:33:42 +0200 |
| commit | e807c406a6b405518f420426665e2455f83ad8fc (patch) | |
| tree | 13cb76f2f131f073c42f2dfe7cea12047dafa717 /scripts/gdb/linux/genpd.py | |
| parent | 62c5a01a5711c8e4be8ae7b6f0db663094615d48 (diff) | |
misc: lis3lv02d: Fix incorrect of_get_property() usage
The usage of of_get_property() is wrong. What's returned in "val" is
the property's length, not the value. Fix this by using the preferred
typed of_property_read_u32() function instead.
Signed-off-by: Rob Herring (Arm) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions