* Re: [PATCH] hte: Use of_property_present() for testing DT property presence
[not found] <20230310144706.1542365-1-robh@kernel.org>
@ 2023-03-10 17:22 ` Dipen Patel
0 siblings, 0 replies; only message in thread
From: Dipen Patel @ 2023-03-10 17:22 UTC (permalink / raw)
To: Rob Herring; +Cc: devicetree, linux-kernel, timestamp
On 3/10/23 6:47 AM, 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.
>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> drivers/hte/hte.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Dipen Patel <dipenp@nvidia.com>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-10 17:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230310144706.1542365-1-robh@kernel.org>
2023-03-10 17:22 ` [PATCH] hte: Use of_property_present() for testing DT property presence Dipen Patel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).