Re: [PATCH] drivers/firmware/psci: Hide ACPI state during initialization

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

 



On Mon, Feb 03, 2020 at 10:06:26AM +1100, Gavin Shan wrote:
> Either psci_dt_init() or psci_acpi_init() s called depends on ACPI
> enablement state, which isn't so nice. In this case, two functions
> have to be exported from PSCI module.
>

I am confused, we don't export any functions as you mention and both
are __init functions which can't be exported.

> This hides the ACPI enablement state insides PSCI module so that we
> only need to export a function, to make the code a bit simplified.
>

For me it's just the preference. I will leave it to maintainers' taste.

--
Regards,
Sudeep

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [CentOS ARM]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]

  Powered by Linux