aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/idle/intel_idle.c
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.mage@gmail.com>2012-03-21 19:33:43 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-21 20:54:54 -0400
commitdc716e96f5a467835e8121e1caaf25d66a901cb3 (patch)
tree696470aed32834f254ec762fc3883477ed8d570e /drivers/idle/intel_idle.c
parent1de5b41cd3b2474c2770b825266d372073e1b28b (diff)
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 <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>
Diffstat (limited to 'drivers/idle/intel_idle.c')
-rw-r--r--drivers/idle/intel_idle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index 1c15e9b33575..d0f59c3f87ef 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -507,8 +507,7 @@ int intel_idle_cpu_init(int cpu)
507 int num_substates; 507 int num_substates;
508 508
509 if (cstate > max_cstate) { 509 if (cstate > max_cstate) {
510 printk(PREFIX "max_cstate %d reached\n", 510 printk(PREFIX "max_cstate %d reached\n", max_cstate);
511 max_cstate);
512 break; 511 break;
513 } 512 }
514 513
@@ -524,8 +523,9 @@ int intel_idle_cpu_init(int cpu)
524 dev->states_usage[dev->state_count].driver_data = 523 dev->states_usage[dev->state_count].driver_data =
525 (void *)get_driver_data(cstate); 524 (void *)get_driver_data(cstate);
526 525
527 dev->state_count += 1; 526 dev->state_count += 1;
528 } 527 }
528
529 dev->cpu = cpu; 529 dev->cpu = cpu;
530 530
531 if (cpuidle_register_device(dev)) { 531 if (cpuidle_register_device(dev)) {