linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Viresh Kumar <viresh.kumar@linaro.org>
To: Stratos Karafotis <stratosk@semaphore.gr>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
	"cpufreq@vger.kernel.org" <cpufreq@vger.kernel.org>,
	"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] cpufreq: governors: Remove duplicate check of target freq in supported range
Date: Wed, 28 Aug 2013 11:05:52 +0530	[thread overview]
Message-ID: <CAKohpon9mokWAg-cfyKtSKRTu2vyQ9oKnM6XYD+sAzmzXoU9fg@mail.gmail.com> (raw)
In-Reply-To: <521BA068.8030003@semaphore.gr>

On 27 August 2013 00:07, Stratos Karafotis <stratosk@semaphore.gr> wrote:
> Function __cpufreq_driver_target checks if target_freq is within
> policy->min and policy->max range. generic_powersave_bias_target also
> checks if target_freq is valid through cpufreq_frequency_table_target
> call. So, drop the unnecessary duplicate check in *_check_cpu functions.
>
> Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
> ---
>  drivers/cpufreq/cpufreq_conservative.c | 4 ----
>  drivers/cpufreq/cpufreq_ondemand.c     | 3 ---
>  2 files changed, 7 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

      parent reply	other threads:[~2013-08-28  5:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26 18:37 [PATCH] cpufreq: governors: Remove duplicate check of target freq in supported range Stratos Karafotis
2013-08-27  5:57 ` Viresh Kumar
2013-08-27 15:46   ` Stratos Karafotis
2013-08-27 16:07     ` Viresh Kumar
2013-08-27 17:34       ` Stratos Karafotis
2013-08-28  5:35         ` Viresh Kumar
2013-08-28  5:35 ` Viresh Kumar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKohpon9mokWAg-cfyKtSKRTu2vyQ9oKnM6XYD+sAzmzXoU9fg@mail.gmail.com \
    --to=viresh.kumar@linaro.org \
    --cc=cpufreq@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=stratosk@semaphore.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).