Message ID | 23a1491c78ce1a40d109e3239dde2e0361995080.1379063063.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBKE7ZSIQKGQEJ3WTQTY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ye0-f197.google.com (mail-ye0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7F31E20358 for <linaro@patches.linaro.org>; Fri, 13 Sep 2013 13:14:16 +0000 (UTC) Received: by mail-ye0-f197.google.com with SMTP id q5sf1157785yen.0 for <linaro@patches.linaro.org>; Fri, 13 Sep 2013 06:14:16 -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=fsy0t8yTXgd6Qa6UKiS/8FlkPAcSnarMZt2ukASVdU0=; b=WVd33sKKHNLrj18btyVdbeLEQBhNT5v0zDDv4LIs7/oDpQ+/QqLM+uyAesBU2wCiP3 obgzkCQ2ifKX9Js8oQ1yu3pAt9iZZw7hVdniR6As3RzF6J7hjLX7zUqBwtfnBifUY5v4 hbOZrcCtlCc2fQwjMa4EkYaWGIH1zQaa0WsbTjaWn7ZNrYAZpRAdnJzt7Z/eFF6SpDL6 xNntNjzJXiTFijBpyBipCd605yyzpIDGPqzkDFUZsRZHONrMo2cL11pjTin8wm1HLRBZ ebLgk5hpMDEkksJKBbOC45UOLe4li/yN50jJXavJ0BbLZh0xALzoirsW9EU56Exqr1r3 o+Dg== X-Gm-Message-State: ALoCoQnJ274MYFSyH9Ak/DFbmBcNpZ/LnmD7z3pQF94b8cEGPCtkGmfp2esQzR1yNHMfAVeKtnfO X-Received: by 10.236.111.73 with SMTP id v49mr5021919yhg.46.1379078056278; Fri, 13 Sep 2013 06:14:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.121.164 with SMTP id ll4ls1075082qeb.17.gmail; Fri, 13 Sep 2013 06:14:16 -0700 (PDT) X-Received: by 10.52.228.137 with SMTP id si9mr1326321vdc.29.1379078056036; Fri, 13 Sep 2013 06:14:16 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id xt2si3117301vcb.33.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:14:16 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.180 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.180; Received: by mail-vc0-f180.google.com with SMTP id gf11so876959vcb.25 for <patchwork-forward@linaro.org>; Fri, 13 Sep 2013 06:14:16 -0700 (PDT) X-Received: by 10.58.208.130 with SMTP id me2mr11901406vec.13.1379078055963; Fri, 13 Sep 2013 06:14:15 -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 u4csp79990vcz; Fri, 13 Sep 2013 06:14:15 -0700 (PDT) X-Received: by 10.68.253.67 with SMTP id zy3mr13534038pbc.137.1379078055078; Fri, 13 Sep 2013 06:14:15 -0700 (PDT) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by mx.google.com with ESMTPS id pi7si7401406pbc.321.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:14:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.169 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.192.169; Received: by mail-pd0-f169.google.com with SMTP id r10so1238775pdi.14 for <patches@linaro.org>; Fri, 13 Sep 2013 06:14:14 -0700 (PDT) X-Received: by 10.68.212.37 with SMTP id nh5mr13552660pbc.16.1379078054693; Fri, 13 Sep 2013 06:14:14 -0700 (PDT) Received: from localhost ([122.167.78.148]) by mx.google.com with ESMTPSA id wp8sm11695817pbc.26.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:14:14 -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>, Shawn Guo <shawn.guo@linaro.org> Subject: [PATCH 095/228] cpufreq: cpu0: don't initialize part of policy that is set by core too Date: Fri, 13 Sep 2013 18:30:41 +0530 Message-Id: <23a1491c78ce1a40d109e3239dde2e0361995080.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.180 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/cpufreq-cpu0.c b/drivers/cpufreq/cpufreq-cpu0.c index 2847ae6..2486c13 100644 --- a/drivers/cpufreq/cpufreq-cpu0.c +++ b/drivers/cpufreq/cpufreq-cpu0.c @@ -130,7 +130,6 @@ static int cpu0_cpufreq_init(struct cpufreq_policy *policy) } policy->cpuinfo.transition_latency = transition_latency; - policy->cur = clk_get_rate(cpu_clk) / 1000; /* * The driver only supports the SMP configuartion where all processors
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(). Cc: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/cpufreq/cpufreq-cpu0.c | 1 - 1 file changed, 1 deletion(-)