[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240904-gorgeous-peculiar-newt-067532-mkl@pengutronix.de>
Date: Wed, 4 Sep 2024 11:52:35 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: "Rob Herring (Arm)" <robh@...nel.org>
Cc: Simon Horman <horms@...nel.org>,
Vincent Mailhol <mailhol.vincent@...adoo.fr>, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, linux-can@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: can: cc770: Simplify parsing DT properties
On 03.09.2024 08:57:30, Rob Herring (Arm) wrote:
> Use of the typed property accessors is preferred over of_get_property().
> The existing code doesn't work on little endian systems either. Replace
> the of_get_property() calls with of_property_read_bool() and
> of_property_read_u32().
>
> Signed-off-by: Rob Herring (Arm) <robh@...nel.org>
> ---
> v2:
> - Use reverse xmas tree order
> - Fix slew unsigned comparison
Added to linux-can-next.
Thanks,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists