Re: Re: [PATCH] soc: amlogic: meson-pwrc: Hold reference returned by of_get_parent()

From: Martin Blumenstingl
Date: Tue Jul 26 2022 - 01:18:49 EST


Hi Liang,

On Tue, Jul 26, 2022 at 3:18 AM Liang He <windhl@xxxxxxx> wrote:
[...]
> I notice the declarations keep the reverse Christmas tree order,
> should I keep that order as the 'parent_np' will become longer than 'np'.
Good catch!
Personally I would move parent_np up (above pwrc) to keep the reverse
Christmas tree ordering, even for new variables.


Best regards,
Martin