mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
drivers/idle/intel_idle.c: fix confusing code identation
Fix a code indentation in the function intel_idle_cpu_init that looks confusing.o Suggested-by: Srivatsa S. Bhat <[email protected]> Reviewed-by: Srivatsa S. Bhat <[email protected]> Signed-off-by: Marcos Paulo de Souza <[email protected]> Cc: "Brown, Len" <[email protected]> Cc: Len Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
1de5b41cd3
commit
dc716e96f5
1 changed files with 4 additions and 4 deletions
|
|
@ -507,8 +507,7 @@ int intel_idle_cpu_init(int cpu)
|
|||
int num_substates;
|
||||
|
||||
if (cstate > max_cstate) {
|
||||
printk(PREFIX "max_cstate %d reached\n",
|
||||
max_cstate);
|
||||
printk(PREFIX "max_cstate %d reached\n", max_cstate);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
@ -524,8 +523,9 @@ int intel_idle_cpu_init(int cpu)
|
|||
dev->states_usage[dev->state_count].driver_data =
|
||||
(void *)get_driver_data(cstate);
|
||||
|
||||
dev->state_count += 1;
|
||||
}
|
||||
dev->state_count += 1;
|
||||
}
|
||||
|
||||
dev->cpu = cpu;
|
||||
|
||||
if (cpuidle_register_device(dev)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue