Re: [PATCH 5/5] mm: ioremap: rename ioremap_page_range() to ioremap_range()
From: Christoph Hellwig
Date: Tue Jun 07 2022 - 01:28:06 EST
On Mon, Jun 06, 2022 at 04:39:09PM +0800, Baoquan He wrote:
> Because the current ioremap_page_range() only maps IO address to kernel
> virtual address, no struct page pointer passed in or page handling related.
> So rename it here.
>
> The renaming is done with below command:
> sed -i "s/ioremap_page_range/ioremap_range/g" `git grep -l ioremap_page_range`
This creates a lot of churn without much of a benefit. If you want
to get rid of the name please convert most architectures to the
generioc ioremap code first so that all these callers go away..