mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
cpu/hotplug: Cleanup state names
When the state names got added a script was used to add the extra argument to the calls. The script basically converted the state constant to a string, but the cleanup to convert these strings into meaningful ones did not happen. Replace all the useless strings with 'subsys/xxx/yyy:state' strings which are used in all the other places already. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sebastian Siewior <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
parent
530e9b76ae
commit
73c1b41e63
59 changed files with 77 additions and 77 deletions
|
|
@ -127,7 +127,7 @@ static int __init ledtrig_cpu_init(void)
|
|||
|
||||
register_syscore_ops(&ledtrig_cpu_syscore_ops);
|
||||
|
||||
ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "AP_LEDTRIG_STARTING",
|
||||
ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "leds/trigger:starting",
|
||||
ledtrig_online_cpu, ledtrig_prepare_down_cpu);
|
||||
if (ret < 0)
|
||||
pr_err("CPU hotplug notifier for ledtrig-cpu could not be registered: %d\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue