[PATCH] staging: fieldbus: anybuss: use devm_platform_ioremap_resource helper
Sven Van Asbroeck
thesven73 at gmail.com
Tue Oct 29 17:40:08 UTC 2019
On Sat, Oct 26, 2019 at 7:52 PM Cristiane Naves
<cristianenavescardoso09 at gmail.com> 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 at gmail.com>
> ---
> drivers/staging/fieldbus/anybuss/arcx-anybus.c | 8 ++------
> 1 file changed, 2 insertions(+), 6 deletions(-)
>
Reviewed-by: Sven Van Asbroeck <TheSven73 at gmail.com>
Tested-by: Sven Van Asbroeck <TheSven73 at gmail.com>
Greg has already queued this patch, but the link embedded in
his commit message should point people here.
More information about the devel
mailing list