Skip to content
Commit 6f1188b4 authored by Yue Hu's avatar Yue Hu Committed by Rob Herring
Browse files

of: reserved-memory: remove duplicated call to of_get_flat_dt_prop() for no-map node



Just use nomap instead of the second call to of_get_flat_dt_prop(). And
change nomap as a bool type due to != NULL operator. Also, correct comment
about node of 'align' -> 'alignment'.

Signed-off-by: default avatarYue Hu <huyue2@yulong.com>
Link: https://lore.kernel.org/r/20200730092353.15644-1-zbestahu@gmail.com
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent bda21278
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment