Re: [PATCH] staging: fieldbus: anybuss: use devm_platform_ioremap_resource helper

From: Sven Van Asbroeck
Date: Tue Oct 29 2019 - 13:40:22 EST


On Sat, Oct 26, 2019 at 7:52 PM Cristiane Naves
<cristianenavescardoso09@xxxxxxxxx> wrote:
>
> Use devm_platform_ioremap_resource helper which wraps
> platform_get_resource() and devm_ioremap_resource() together. Issue
> found by coccicheck.
>
> Signed-off-by: Cristiane Naves <cristianenavescardoso09@xxxxxxxxx>
> ---
> drivers/staging/fieldbus/anybuss/arcx-anybus.c | 8 ++------
> 1 file changed, 2 insertions(+), 6 deletions(-)
>

Reviewed-by: Sven Van Asbroeck <TheSven73@xxxxxxxxx>
Tested-by: Sven Van Asbroeck <TheSven73@xxxxxxxxx>

Greg has already queued this patch, but the link embedded in
his commit message should point people here.