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

Markus Elfring <[email protected]>
Newsgroups org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel,org.kernel.vger.linux-mips
Message-ID <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.