Re: [PATCH] mips: rb532: use devm_platform_ioremap_resource in gpio probe

From: Markus Elfring

Date: Thu Aug 13 2026 - 06:43:13 EST


> Replace the platform_get_resource()/devm_ioremap_resource() pair with
> the devm_platform_ioremap_resource() helper and drop the now-unused
> struct resource pointer and NULL check.
>
> Assisted-by: opencode:deepseek-v4-flash-free

Would it be helpful to mention that a wrapper function is available since
the commit 7945f929f1a77a1c8887a97ca07f87626858ff42 ("drivers:
provide devm_platform_ioremap_resource()")?

Regards,
Markus