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

From: Rob Herring
Date: Mon Aug 03 2020 - 18:51:02 EST


On Thu, 30 Jul 2020 17:23:53 +0800, Yue Hu wrote:
> From: Yue Hu <huyue2@xxxxxxxxxx>
>
> 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: Yue Hu <huyue2@xxxxxxxxxx>
> ---
> drivers/of/of_reserved_mem.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>

Applied, thanks!