[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168074339913.3678997.309383378188824409.b4-ty@ellerman.id.au>
Date: Thu, 06 Apr 2023 11:09:59 +1000
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Colin Leroy <colin@...ino.net>, Rob Herring <robh@...nel.org>
Cc: devicetree@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] macintosh: Use of_property_present() for testing DT property presence
On Fri, 10 Mar 2023 08:47:35 -0600, Rob Herring wrote:
> It is preferred to use typed property access functions (i.e.
> of_property_read_<type> functions) rather than low-level
> of_get_property/of_find_property functions for reading properties. As
> part of this, convert of_get_property/of_find_property calls to the
> recently added of_property_present() helper when we just want to test
> for presence of a property and nothing more.
>
> [...]
Applied to powerpc/next.
[1/1] macintosh: Use of_property_present() for testing DT property presence
https://git.kernel.org/powerpc/c/87b626a66dd4ab7d5caf5199d98ec0b5953d73f8
cheers
Powered by blists - more mailing lists