]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drivers/idle/intel_idle.c: fix confusing code identation
authorMarcos Paulo de Souza <marcos.mage@gmail.com>
Wed, 21 Mar 2012 23:33:43 +0000 (16:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Mar 2012 00:54:54 +0000 (17:54 -0700)
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>
drivers/idle/intel_idle.c

index 1c15e9b3357567f7845452bf38b6796fb11b1a50..d0f59c3f87eff08c9af04bd7d13f2b91e6f3ea17 100644 (file)
@@ -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)) {