Re: [PATCH] hwmon: fix devm_platform_ioremap_resource.cocci warnings

From: Jisheng Zhang
Date: Tue Sep 03 2019 - 01:32:11 EST


On Tue, 3 Sep 2019 06:47:52 +0200 (CEST) Julia Lawall wrote:

>
>
> From: kbuild test robot <lkp@xxxxxxxxx>
>
> Use devm_platform_ioremap_resource helper which wraps
> platform_get_resource() and devm_ioremap_resource() together.
>
> Generated by: scripts/coccinelle/api/devm_platform_ioremap_resource.cocci
>
> Fixes: 658e687b4218 ("hwmon: Add Synaptics AS370 PVT sensor driver")
> CC: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>
> Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
> Signed-off-by: Julia Lawall <julia.lawall@xxxxxxx>

Reviewed-by: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>

Thanks