Message ID | 470f82d8c5935ff0da56969f19ae0b73a634abb9.1376486714.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBB7MPV2IAKGQEJCCFGII@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 5CD652390D for <linaro@patches.linaro.org>; Wed, 14 Aug 2013 13:37:02 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id oz10sf10780487veb.11 for <linaro@patches.linaro.org>; Wed, 14 Aug 2013 06:37:01 -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=NMhN11vRlbhb8wEm03bxRJe6rAjytohGs7HnSbpmjQY=; b=cWL4Hw2ckvjrinQ04VDI1/s5EYLFLGpN3BR6ABylZGA69UvZdzJWdGOxsl/MtHMtcI ueMF++XmtkUfzWGUlO0XlRWy87JLw0ws243PYIxOWF/9TNLWyUEedvuSB9dQHYAkBXYF eFPTFIvDKQKQ3y8NI3/iXXy74DRn/0gW9eE+mR2E0JnHrjg6Hw1npx4Zeuafk6ysF4gm 6EDrkMrYy/ppj03P0uLi5RvY1bfG6qd/Ryo+Dl7pR37qbL2uA7z8XSIrsg2JMCTp1IM1 W1hG2k3rV3qoUcEsiSGrj4y3bppxn21crDNwg817EXA9vwNrOGHbCdMuDtgrPQAvpA8n sePA== X-Received: by 10.52.166.67 with SMTP id ze3mr2157805vdb.4.1376487421721; Wed, 14 Aug 2013 06:37:01 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.41.40 with SMTP id c8ls3187349qel.72.gmail; Wed, 14 Aug 2013 06:37:01 -0700 (PDT) X-Received: by 10.58.80.7 with SMTP id n7mr9812403vex.23.1376487421612; Wed, 14 Aug 2013 06:37:01 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id u5si11034010vet.38.2013.08.14.06.37.01 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:37:01 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.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.220.181; Received: by mail-vc0-f181.google.com with SMTP id hz10so5124246vcb.12 for <patchwork-forward@linaro.org>; Wed, 14 Aug 2013 06:37:01 -0700 (PDT) X-Gm-Message-State: ALoCoQnVQn3u73qn/Z0PkA0WVZ+aqJkT2QSCi8N/MUWSYbvXY6FKZYHQYa/aoKLkPyEi17nLdbEC X-Received: by 10.52.38.197 with SMTP id i5mr74918vdk.66.1376487421519; Wed, 14 Aug 2013 06:37:01 -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 u4csp213274vcz; Wed, 14 Aug 2013 06:37:00 -0700 (PDT) X-Received: by 10.66.216.129 with SMTP id oq1mr10105150pac.75.1376487420609; Wed, 14 Aug 2013 06:37:00 -0700 (PDT) Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by mx.google.com with ESMTPS id xx2si20892935pac.285.2013.08.14.06.37.00 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:37:00 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.181 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.192.181; Received: by mail-pd0-f181.google.com with SMTP id g10so6385355pdj.12 for <patches@linaro.org>; Wed, 14 Aug 2013 06:37:00 -0700 (PDT) X-Received: by 10.66.253.40 with SMTP id zx8mr1364109pac.71.1376487420177; Wed, 14 Aug 2013 06:37:00 -0700 (PDT) Received: from localhost ([122.172.193.46]) by mx.google.com with ESMTPSA id wr9sm50397971pbc.7.2013.08.14.06.36.56 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:36:59 -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>, spear-devel@list.st.com Subject: [PATCH 34/37] cpufreq: spear: don't initialize part of policy that is set by core too Date: Wed, 14 Aug 2013 19:02:23 +0530 Message-Id: <470f82d8c5935ff0da56969f19ae0b73a634abb9.1376486714.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.220.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/spear-cpufreq.c b/drivers/cpufreq/spear-cpufreq.c index 88aa5cf..efacfa1 100644 --- a/drivers/cpufreq/spear-cpufreq.c +++ b/drivers/cpufreq/spear-cpufreq.c @@ -176,8 +176,6 @@ static int spear_cpufreq_init(struct cpufreq_policy *policy) } policy->cpuinfo.transition_latency = spear_cpufreq.transition_latency; - policy->cur = spear_cpufreq_get(0); - cpumask_setall(policy->cpus); return 0;
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: spear-devel@list.st.com Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/cpufreq/spear-cpufreq.c | 2 -- 1 file changed, 2 deletions(-)