Skip to content

Commit

Permalink
drivers/idle/intel_idle.c: fix confusing code identation
Browse files Browse the repository at this point in the history
Fix a code indentation in the function intel_idle_cpu_init that looks
confusing.o

Suggested-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Marcos Paulo de Souza authored and Linus Torvalds committed Mar 22, 2012
1 parent 1de5b41 commit dc716e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/idle/intel_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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)) {
Expand Down

0 comments on commit dc716e9

Please sign in to comment.