aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-03-10 14:47:13 +0000
committerGreg Kroah-Hartman <[email protected]>2023-03-17 14:23:32 +0000
commit6ca8f8bf706d874090b74f811194e94ebbc560df (patch)
tree16b62e8af474204bad854c1238ec3238b10bd38b /scripts/mod/file2alias.c
parentmisc: lis3lv02d: Use of_property_read_bool() for boolean properties (diff)
downloadkernel-6ca8f8bf706d874090b74f811194e94ebbc560df.tar.gz
kernel-6ca8f8bf706d874090b74f811194e94ebbc560df.zip
misc: lis3lv02d: Fix reading 'st,default-rate' property
The property 'st,default-rate' is tested for presence, but the value is ignored and the 'default_rate' value is updated with a stale 'val' value. Fix this by using of_property_read_u32(). Signed-off-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions