Thread (4 messages) flat view 4 messages, 4 authors, 2023-03-27

Re: [PATCH] cpufreq: pmac32: Use of_property_read_bool() for boolean properties

From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2023-03-27 17:11:54
Also in: linux-devicetree, linux-pm, lkml

On Mon, Mar 13, 2023 at 5:26 AM Viresh Kumar [off-list ref] wrote:
On 10-03-23, 08:47, Rob Herring wrote:
quoted
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.
Convert reading boolean properties to to of_property_read_bool().

Signed-off-by: Rob Herring <robh@kernel.org>
---
 drivers/cpufreq/pmac32-cpufreq.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Applied as 6.4 material, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help