[PATCH] MIPS: pci-mt7620: Use devm_platform_get_and_ioremap_resource()
Thomas Bogendoerfer
tsbogend at alpha.franken.de
Thu Feb 9 04:08:18 PST 2023
On Wed, Feb 08, 2023 at 10:48:03AM +0800, ye.xingchen at zte.com.cn wrote:
> From: Ye Xingchen <ye.xingchen at zte.com.cn>
>
> Convert platform_get_resource(), devm_ioremap_resource() to a single
> call to devm_platform_get_and_ioremap_resource(), as this is exactly
> what this function does.
>
> Signed-off-by: Ye Xingchen <ye.xingchen at zte.com.cn>
> ---
> arch/mips/pci/pci-mt7620.c | 8 ++------
> 1 file changed, 2 insertions(+), 6 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 ]
More information about the linux-arm-kernel
mailing list