[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230713082600.75251-1-frank.li@vivo.com>
Date: Thu, 13 Jul 2023 16:26:00 +0800
From: Yangtao Li <frank.li@...o.com>
To: miquel.raynal@...tlin.com
Cc: frank.li@...o.com, linux-kernel@...r.kernel.org,
linux-mtd@...ts.infradead.org, richard@....at, vigneshr@...com
Subject: Re: [PATCH 09/18] mtd: rawnand: davinci: Convert to devm_platform_ioremap_resource()
> 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
Powered by blists - more mailing lists