[PATCH] net: Use of_property_read_bool() for boolean properties
Marc Kleine-Budde
mkl at pengutronix.de
Sun Mar 12 03:16:56 PDT 2023
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 at kernel.org>
> ---
> drivers/net/can/cc770/cc770_platform.c | 12 ++++++------
Acked-by: Marc Kleine-Budde <mkl at pengutronix.de> # 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 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230312/961607c7/attachment.sig>
More information about the linux-arm-kernel
mailing list