Re: [PATCH v3 1/6] soc/tegra: fuse: Refactor resource mapping

From: Andy Shevchenko
Date: Thu Sep 07 2023 - 12:05:35 EST


On Thu, Sep 07, 2023 at 12:40:47PM +0530, Kartik wrote:
> To prepare for adding ACPI support to the tegra-apbmisc driver,
> relocate the code responsible for mapping memory resources from
> the function ‘tegra_init_apbmisc’ to the function
> ‘tegra_init_apbmisc_resources.’ This adjustment will allow the
> code to be shared between ‘tegra_init_apbmisc’ and the upcoming
> ‘tegra_acpi_init_apbmisc’ function.

...

> -void __init tegra_init_apbmisc(void)
> +static void tegra_init_apbmisc_resources(struct resource *apbmisc,
> + struct resource *straps)
> {

> +}
> +
> +void __init tegra_init_apbmisc(void)

Looks like the patches can be improved by using --patience when you format
patches before sending.

--
With Best Regards,
Andy Shevchenko