Commit dc716e96 authored by Marcos Paulo de Souza's avatar Marcos Paulo de Souza Committed by Linus Torvalds

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: default avatarSrivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Reviewed-by: default avatarSrivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: default avatarMarcos Paulo de Souza <marcos.mage@gmail.com>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1de5b41c
...@@ -507,8 +507,7 @@ int intel_idle_cpu_init(int cpu) ...@@ -507,8 +507,7 @@ int intel_idle_cpu_init(int cpu)
int num_substates; int num_substates;
if (cstate > max_cstate) { if (cstate > max_cstate) {
printk(PREFIX "max_cstate %d reached\n", printk(PREFIX "max_cstate %d reached\n", max_cstate);
max_cstate);
break; break;
} }
...@@ -526,6 +525,7 @@ int intel_idle_cpu_init(int cpu) ...@@ -526,6 +525,7 @@ int intel_idle_cpu_init(int cpu)
dev->state_count += 1; dev->state_count += 1;
} }
dev->cpu = cpu; dev->cpu = cpu;
if (cpuidle_register_device(dev)) { if (cpuidle_register_device(dev)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment