[PATCH] i2c: imx: use devm_platform_get_and_ioremap_resource()

Wolfram Sang wsa at kernel.org
Sat Nov 12 12:25:31 PST 2022


On Thu, Nov 10, 2022 at 05:23:42PM +0800, ye.xingchen at zte.com.cn wrote:
> From: Minghao Chi <chi.minghao at zte.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 at zte.com.cn>
> Signed-off-by: Minghao Chi <chi.minghao at zte.com.cn>

Applied to for-next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20221112/6760a90c/attachment.sig>


More information about the linux-arm-kernel mailing list