[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210122083109.7gyxdwi2dlo3ptjj@hardanger.blackshift.org>
Date: Fri, 22 Jan 2021 09:31:09 +0100
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Su Yanjun <suyanjun218@...il.com>
Cc: manivannan.sadhasivam@...aro.org, thomas.kopp@...rochip.com,
wg@...ndegger.com, davem@...emloft.net, kuba@...nel.org,
linux-can@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4] can: mcp251xfd: replace sizeof(u32) with val_bytes in
regmap
On Fri, Jan 22, 2021 at 04:13:34PM +0800, Su Yanjun wrote:
> The sizeof(u32) is hardcoded. It's better to use the config value in
> regmap.
>
> It increases the size of target object, but it's flexible when new mcp chip
> need other val_bytes.
>
> Signed-off-by: Su Yanjun <suyanjun218@...il.com>
Applied to linux-can-next/testing.
Thanks,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists