Re: [PATCH v2 1/2] can: flexcan: use of_property_read_u32 to get DT entry value
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2012-06-30 12:29:39
Attachments
- signature.asc [application/pgp-signature] 262 bytes
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2012-06-30 12:29:39
On 06/28/2012 10:21 AM, Hui Wang wrote:
of_property_read_u32() can auto handle endian problems, use this function can make code clean and simple. No need to check return value here since the following got value check will handle this. Cc: linux-can@vger.kernel.org Cc: Marc Kleine-Budde <mkl@pengutronix.de> Cc: Wolfgang Grandegger <redacted> Cc: Shawn Guo <redacted> Signed-off-by: Hui Wang <redacted>
Applied to linux-can-next tnx, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |