[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221110145712.okxjbawfchp3tfje@pengutronix.de>
Date: Thu, 10 Nov 2022 15:57:12 +0100
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
To: ye.xingchen@....com.cn
Cc: linux@...pel-privat.de, linux-kernel@...r.kernel.org,
chi.minghao@....com.cn, linux-i2c@...r.kernel.org,
kernel@...gutronix.de, shawnguo@...nel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] i2c: imx: use devm_platform_get_and_ioremap_resource()
On Thu, Nov 10, 2022 at 05:23:42PM +0800, ye.xingchen@....com.cn wrote:
> From: Minghao Chi <chi.minghao@....com.cn>
>
> Convert platform_get_resource(), devm_ioremap_resource() to a single
> call to devm_platform_get_and_ioremap_resource(), as this is exactly
> what this function does.
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: Minghao Chi <chi.minghao@....com.cn>
As res is used later, we cannot switch to
devm_platform_ioremap_resource(), so the patch is fine.
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists