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

Martin Blumenstingl martin.blumenstingl at googlemail.com
Mon Jul 25 22:18:33 PDT 2022


Hi Liang,

On Tue, Jul 26, 2022 at 3:18 AM Liang He <windhl at 126.com> 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



More information about the linux-amlogic mailing list