[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKohpo=CFWH6wCpBQb2fut_duUCY7Ko2JudoV+e6c+wD+d8eFw@mail.gmail.com>
Date: Mon, 2 Sep 2013 06:30:30 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: "Rafael J. Wysocki" <rjw@...k.pl>
Cc: Stephen Boyd <sboyd@...eaurora.org>,
Lists linaro-kernel <linaro-kernel@...ts.linaro.org>,
Patch Tracking <patches@...aro.org>,
"cpufreq@...r.kernel.org" <cpufreq@...r.kernel.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] cpufreq: serialize calls to __cpufreq_governor()
On 2 September 2013 01:57, Rafael J. Wysocki <rjw@...k.pl> wrote:
> The second tab is one too many, I usually write such things like this:
>
> if (policy->governor_busy
> || (policy->governor_enabled && event == CPUFREQ_GOV_START)
> || ...
>
> Then it is much easier to distinguish the conditional code from the condition
> itself.
I see... I tried to do it this way but got confused again :)
You fix it this time and I will understand it from that :)
--
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists