[PATCH v2] net: Use of_property_read_bool() for boolean properties

Jakub Kicinski kuba at kernel.org
Fri Mar 17 11:07:16 AEDT 2023


On Tue, 14 Mar 2023 14:18:27 -0500 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.
> Convert reading boolean properties to of_property_read_bool().
> 
> Reviewed-by: Simon Horman <simon.horman at corigine.com>
> Acked-by: Marc Kleine-Budde <mkl at pengutronix.de> # for net/can
> Acked-by: Kalle Valo <kvalo at kernel.org>
> Acked-by: Nicolas Ferre <nicolas.ferre at microchip.com>
> Acked-by: Francois Romieu <romieu at fr.zoreil.com>
> Reviewed-by: Wei Fang <wei.fang at nxp.com>
> Signed-off-by: Rob Herring <robh at kernel.org>

Applied, to net(?), thanks!


More information about the Linuxppc-dev mailing list