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

From: Marc Kleine-Budde
Date: Sun Mar 12 2023 - 06:18:20 EST


On 10.03.2023 08:47:16, 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 to of_property_read_bool().
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> drivers/net/can/cc770/cc770_platform.c | 12 ++++++------

Acked-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> # for net/can

regards,
Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |

Attachment: signature.asc
Description: PGP signature