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
