Re: [PATCH] cpuidle: Use of_property_present() for testing DT property presence

From
patchwork-bot+linux-riscv@kernel.org
Date
2023-05-08 14:42:23
Also in
linux-pm, linux-riscv, lkml
Reply to
Rob Herring, 2023-03-10
Hello:

This patch was applied to riscv/linux.git (fixes)
by Rafael J. Wysocki [off-list ref]:

On Fri, 10 Mar 2023 08:47:03 -0600 you 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.

[...]
Here is the summary with links:
  - cpuidle: Use of_property_present() for testing DT property presence
    https://git.kernel.org/riscv/c/f914bfdd7f84

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Thread (5 messages) 5 messages, 5 authors, last reply 2023-05-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help