Message ID | 7d15f2a318238d6f93cee5ac92c037fda902898e.1379063063.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBS47ZSIQKGQE5ZLL2JY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 125B720358 for <linaro@patches.linaro.org>; Fri, 13 Sep 2013 13:14:52 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id gf11sf1192315vcb.10 for <linaro@patches.linaro.org>; Fri, 13 Sep 2013 06:14:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:in-reply-to:references :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=KkoHjBC0LVjhZsfedaC6gKu0b2dm8ze0m8/GKX/fUlw=; b=jrkURy16UCAHriJ9QTyCEE2b9fJXoyyiODiIvwBC+tMm4J6EIgQ3ylsHKw2wEIymXQ R+A80pqd6uh9k24OWKKcLHAZ/ctZtoB/niv+VtDu/jY+aLvxVhRYXSAwm8TSv8hoeE5Z k0dvXPS16QQvRWbQYFq3nrBHlJy18Cgx5gFrbCOyZzmPL9kwiZ0NbLtCaRzbMA73CPZ0 hFI5xBkeZsPfxWy/m1Gv5wqQYryeHiP/e/XQefNvd9EBSSU7igbonIlChj1W33T7Ff+u B3Zgp7Pr3ECI8T/DUbKUoIu4sRLnw40iwfNkMgsx3SXKnCbuCXg43izHm2sqkm2Lf8+z yaSQ== X-Gm-Message-State: ALoCoQm3LkOjSgb5b/aFvcfcRaj4sXdJpjlFvJwiH4twqx4oTnwDGW0fi0cLIT69fMsN/txp5oKj X-Received: by 10.236.19.225 with SMTP id n61mr4957055yhn.8.1379078091811; Fri, 13 Sep 2013 06:14:51 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.107.136 with SMTP id hc8ls1116281qeb.55.gmail; Fri, 13 Sep 2013 06:14:51 -0700 (PDT) X-Received: by 10.220.42.140 with SMTP id s12mr200295vce.33.1379078091609; Fri, 13 Sep 2013 06:14:51 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id om2si3099172vec.113.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:14:51 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id ij15so924634vcb.30 for <patchwork-forward@linaro.org>; Fri, 13 Sep 2013 06:14:51 -0700 (PDT) X-Received: by 10.58.161.116 with SMTP id xr20mr11953774veb.2.1379078091531; Fri, 13 Sep 2013 06:14:51 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp80029vcz; Fri, 13 Sep 2013 06:14:51 -0700 (PDT) X-Received: by 10.66.142.230 with SMTP id rz6mr15413797pab.117.1379078090694; Fri, 13 Sep 2013 06:14:50 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id to1si11246585pab.22.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:14:50 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.160.50; Received: by mail-pb0-f50.google.com with SMTP id uo5so1224765pbc.37 for <patches@linaro.org>; Fri, 13 Sep 2013 06:14:50 -0700 (PDT) X-Received: by 10.68.143.199 with SMTP id sg7mr13463117pbb.13.1379078090305; Fri, 13 Sep 2013 06:14:50 -0700 (PDT) Received: from localhost ([122.167.78.148]) by mx.google.com with ESMTPSA id y5sm11707390pbs.18.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:14:49 -0700 (PDT) From: Viresh Kumar <viresh.kumar@linaro.org> To: rjw@sisk.pl Cc: linaro-kernel@lists.linaro.org, patches@linaro.org, cpufreq@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Viresh Kumar <viresh.kumar@linaro.org> Subject: [PATCH 100/228] cpufreq: e_powersaver: don't initialize part of policy that is set by core too Date: Fri, 13 Sep 2013 18:30:46 +0530 Message-Id: <7d15f2a318238d6f93cee5ac92c037fda902898e.1379063063.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: <cover.1379063063.git.viresh.kumar@linaro.org> References: <cover.1379063063.git.viresh.kumar@linaro.org> In-Reply-To: <cover.1379063063.git.viresh.kumar@linaro.org> References: <cover.1379063063.git.viresh.kumar@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/cpufreq/e_powersaver.c b/drivers/cpufreq/e_powersaver.c index a8cbbd0..2c11ce3 100644 --- a/drivers/cpufreq/e_powersaver.c +++ b/drivers/cpufreq/e_powersaver.c @@ -395,7 +395,6 @@ static int eps_cpu_init(struct cpufreq_policy *policy) } policy->cpuinfo.transition_latency = 140000; /* 844mV -> 700mV in ns */ - policy->cur = fsb * current_multiplier; ret = cpufreq_table_validate_and_show(policy, ¢aur->freq_table[0]); if (ret) {
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/cpufreq/e_powersaver.c | 1 - 1 file changed, 1 deletion(-)