Re: [PATCH -next] MIPS: pci: use devm_platform_ioremap_resource_byname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 17, 2020 at 03:46:22PM +0800, Qilong Zhang wrote:
> From: Zhang Qilong <zhangqilong3@xxxxxxxxxx>
> 
> Use the devm_platform_ioremap_resource_byname() helper instead of
> calling platform_get_resource_byname() and devm_ioremap_resource()
> separately.
> 
> Signed-off-by: Zhang Qilong <zhangqilong3@xxxxxxxxxx>
> ---
>  arch/mips/pci/pci-ar2315.c | 5 ++---
>  arch/mips/pci/pci-ar71xx.c | 4 ++--
>  arch/mips/pci/pci-ar724x.c | 9 +++------
>  3 files changed, 7 insertions(+), 11 deletions(-)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux