2019-10-19 08:03:06

by Amit Kucheria

[permalink] [raw]
Subject: [PATCH v4 4/6] cpufreq: Initialize cpufreq-dt driver earlier

This allows HW drivers that depend on cpufreq-dt to initialise earlier.

Signed-off-by: Amit Kucheria <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
---
drivers/cpufreq/cpufreq-dt-platdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index bca8d1f47fd2c..3282defe14d41 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -180,4 +180,4 @@ static int __init cpufreq_dt_platdev_init(void)
-1, data,
sizeof(struct cpufreq_dt_platform_data)));
}
-device_initcall(cpufreq_dt_platdev_init);
+core_initcall(cpufreq_dt_platdev_init);
--
2.17.1


2019-10-21 08:09:30

by Ingo Molnar

[permalink] [raw]
Subject: Re: [PATCH v4 4/6] cpufreq: Initialize cpufreq-dt driver earlier


* Amit Kucheria <[email protected]> wrote:

> This allows HW drivers that depend on cpufreq-dt to initialise earlier.

My obsessive-compulsive in-brain spellchecker noticed that the title says
'initialize' (US spelling), while the comment uses 'initialise' (UK
spelling). Just in case this is not some post-Brexit expression of
cross-Atlantic friendliness you might want to fix it. :)

Thanks,

Ingo

2019-10-21 09:00:42

by Amit Kucheria

[permalink] [raw]
Subject: Re: [PATCH v4 4/6] cpufreq: Initialize cpufreq-dt driver earlier

On Mon, Oct 21, 2019 at 1:38 PM Ingo Molnar <[email protected]> wrote:
>
>
> * Amit Kucheria <[email protected]> wrote:
>
> > This allows HW drivers that depend on cpufreq-dt to initialise earlier.
>
> My obsessive-compulsive in-brain spellchecker noticed that the title says
> 'initialize' (US spelling), while the comment uses 'initialise' (UK
> spelling). Just in case this is not some post-Brexit expression of
> cross-Atlantic friendliness you might want to fix it. :)

Naah, its just my confused brain that grew up learning British
English, then spent enough time in US to pick up some of that too. I
think it is a form of selective spelling blindness :-)

Will fix.