lkml.org 
[lkml]   [2012]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drivers/idle/intel_idle.c: Fix confusing code identation
On 02/17/2012 02:13 PM, Marcos Paulo de Souza wrote:

> Suggested-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
> Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>
> ---


Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>

[ A small commit message wouldn't hurt though :-) ]

Regards,
Srivatsa S. Bhat

> drivers/idle/intel_idle.c | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
> index 54ab97b..5e71b98 100644
> --- a/drivers/idle/intel_idle.c
> +++ b/drivers/idle/intel_idle.c
> @@ -495,8 +495,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;
> }
>
> @@ -512,8 +511,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)) {



\
 
 \ /
  Last update: 2012-02-17 10:01    [W:0.054 / U:2.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site