soc/tegra: fuse: Refactor resource mapping
authorKartik <kkartik@nvidia.com>
Tue, 17 Oct 2023 05:23:17 +0000 (10:53 +0530)
committerThierry Reding <treding@nvidia.com>
Thu, 1 Feb 2024 14:58:05 +0000 (15:58 +0100)
commitf0139d666685ef339fe5b588696db754e0ac8159
treef825a6bf2267cd81a4d2432c44b8c7f5087c0082
parent4569e604b5abc2eacc30dd6ac7e3e0fbaa87bc42
soc/tegra: fuse: Refactor resource mapping

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.

Signed-off-by: Kartik <kkartik@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/fuse/tegra-apbmisc.c