Message ID | a696e50d20d7f062c94783d063085ef78bdd29dc.1376486713.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBKUOV2IAKGQESXLIRLA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EBEC92390D for <linaro@patches.linaro.org>; Wed, 14 Aug 2013 13:33:30 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id oz10sf10776143veb.11 for <linaro@patches.linaro.org>; Wed, 14 Aug 2013 06:33:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-gm-message-state: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=ewz9vReaE8gD5kgEyJvzFl6wYqJcMRXrnzcjvV9qbx0=; b=VUBY80mYjwhtTlOYNnSV44bHBgeYtjb49s2a3fNXTHt4/QYGB3kh5QoAgfUyMoN4ZL cetuVNf+lljPy4Z/g/3ESGTpdtTC96syg2sbpowWCN0r3gw0oriEIQoabhF30Yg0aEkM MF+uBaRA/wacrE0THHgLK8qzI0xMVBa/cIQO1DSz1AzYePx5OWU6fZ6+X55WgZPyZEGq LH0g63qV8DqeJY1xtKM+sFGrOlJXcwA9GOonDMrTLafMxaSQX7T9LYk0ELLNc/Adyg4Y vAPcdRlGbQu7cn5ml9kXnSddMg/v+Glq1HebkcxfxgbK2EX4Jki+yXERp0i9TrAL6NO0 HLaQ== X-Received: by 10.58.46.114 with SMTP id u18mr2516480vem.22.1376487210659; Wed, 14 Aug 2013 06:33:30 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.104.177 with SMTP id gf17ls3046058qeb.4.gmail; Wed, 14 Aug 2013 06:33:30 -0700 (PDT) X-Received: by 10.52.163.12 with SMTP id ye12mr72916vdb.59.1376487210398; Wed, 14 Aug 2013 06:33:30 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id c11si222266vej.128.2013.08.14.06.33.30 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:33:30 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id jz10so7539006veb.26 for <patchwork-forward@linaro.org>; Wed, 14 Aug 2013 06:33:30 -0700 (PDT) X-Gm-Message-State: ALoCoQk4l6NMLvYjJ5WZKiuxj26K1RyNQgwQb1WOElwJuHb9aYL+zJHvg7Tel0yPpRnro1SGMquL X-Received: by 10.220.109.197 with SMTP id k5mr82312vcp.54.1376487210269; Wed, 14 Aug 2013 06:33:30 -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 u4csp213071vcz; Wed, 14 Aug 2013 06:33:29 -0700 (PDT) X-Received: by 10.68.14.234 with SMTP id s10mr9969127pbc.139.1376487209247; Wed, 14 Aug 2013 06:33:29 -0700 (PDT) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx.google.com with ESMTPS id xq4si29412039pab.28.2013.08.14.06.33.28 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:33:29 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.54 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.160.54; Received: by mail-pb0-f54.google.com with SMTP id ro12so9409473pbb.27 for <patches@linaro.org>; Wed, 14 Aug 2013 06:33:28 -0700 (PDT) X-Received: by 10.66.25.205 with SMTP id e13mr1147347pag.180.1376487208818; Wed, 14 Aug 2013 06:33:28 -0700 (PDT) Received: from localhost ([122.172.193.46]) by mx.google.com with ESMTPSA id x8sm50328436pbb.39.2013.08.14.06.33.24 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:33:28 -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, Viresh Kumar <viresh.kumar@linaro.org>, Shawn Guo <shawn.guo@linaro.org> Subject: [PATCH 06/37] cpufreq: cpu0: don't initialize part of policy that is set by core too Date: Wed, 14 Aug 2013 19:01:55 +0530 Message-Id: <a696e50d20d7f062c94783d063085ef78bdd29dc.1376486713.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: <cover.1376486713.git.viresh.kumar@linaro.org> References: <cover.1376486713.git.viresh.kumar@linaro.org> In-Reply-To: <cover.1376486713.git.viresh.kumar@linaro.org> References: <cover.1376486713.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.128.181 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 000da22..4014925 100644 --- a/drivers/cpufreq/cpufreq-cpu0.c +++ b/drivers/cpufreq/cpufreq-cpu0.c @@ -117,7 +117,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(-)