[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 4 Apr 2023 21:53:25 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Thierry Reding <thierry.reding@...il.com>,
Cristian Marussi <cristian.marussi@....com>,
Sudeep Holla <sudeep.holla@....com>,
Jonathan Hunter <jonathanh@...dia.com>,
Rob Herring <robh@...nel.org>
Cc: linux-tegra@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] firmware: Use of_property_present() for testing DT property presence
From: Thierry Reding <treding@...dia.com>
On Fri, 10 Mar 2023 08:47:04 -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, thanks!
[1/1] firmware: Use of_property_present() for testing DT property presence
commit: 8c47b8253f4cfd8b4dbda8c9adc1d0b1d7f3009d
Best regards,
--
Thierry Reding <treding@...dia.com>
Powered by blists - more mailing lists