[PATCH 09/18] mtd: rawnand: davinci: Convert to devm_platform_ioremap_resource()
Yangtao Li
frank.li at vivo.com
Thu Jul 13 01:26:00 PDT 2023
> I believe this is the only use of the resource, I am in favor of just
> using the regular devm_platform_ioremap_resource() helper here and just
> drop the reference to the resource from the message.
I guess maybe you can apply this patch directly?
It should be noted that devm_ioremap_resource is not the same as devm_ioremap,
here is devm_ioremap (devm_request_mem_region will not be called, and there are comments explaining why this interface is needed),
which means that we cannot simply replace it with devm_platform_ioremap_resource.
MBR,
Yangtao
More information about the linux-mtd
mailing list