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

2020-08-03 Thread Rob Herring
On Thu, 30 Jul 2020 17:23:53 +0800, Yue Hu wrote: > From: Yue Hu > > 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 > --- > dr

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

2020-07-30 Thread Yue Hu
From: Yue Hu 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 --- drivers/of/of_reserved_mem.c | 12 ++-- 1 file changed, 6 inse