Commit c0f6913
committed
intel_idle: Use subsys_initcall_sync() for initialization
It is not necessary to wait until the device_initcall() stage with
intel_idle initialization. All of its dependencies are met after
all subsys_initcall()s have run, so subsys_initcall_sync() can be
used for initializing it.
It is also better to ensure that intel_idle will always initialize
before the ACPI processor driver that uses module_init() for its
initialization.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Tested-by: Artem Bityutskiy <[email protected]>
Link: https://patch.msgid.link/[email protected]1 parent e271ed5 commit c0f6913
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2518 | 2518 | | |
2519 | 2519 | | |
2520 | 2520 | | |
2521 | | - | |
| 2521 | + | |
2522 | 2522 | | |
2523 | 2523 | | |
2524 | 2524 | | |
| |||
0 commit comments