Message ID | 04c2fe3a595a11096e89a886b5271951bbe28f47.1376486713.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBE4PV2IAKGQEXUM64PY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f72.google.com (mail-qe0-f72.google.com [209.85.128.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3075B2390D for <linaro@patches.linaro.org>; Wed, 14 Aug 2013 13:35:16 +0000 (UTC) Received: by mail-qe0-f72.google.com with SMTP id a11sf11151074qen.11 for <linaro@patches.linaro.org>; Wed, 14 Aug 2013 06:35:15 -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=Sp3lKaRK2F/wZQT7yREedVGH3Prb+vHfAvmPILBaaok=; b=g/uo98335o2wpuuPFGwn1sVyx3fH8oS1jvzYVK2v0YLvGSN46rxrJJHEBqz2zvzdCH RuYgGCUv+AG5LpAHvFteQY3mBOMceBbN6RAwb0QcHFqj4ib/or3uSxzPElAwgU6WBlDU X6Td73n1P8QSozRjnLICBvnwD8BG98lfHSh5v8R6QYW8hvXojnD/NZKxhIu0qMhwemgY fywyjZq69OsHMtB+BNhQkwoIYvTPUKk81pLYtBWuzZsbmfsGl8NTg6vTt+7ocoShFKw1 pMbGTNSRsfA1BDwj2B6L5NIIWpvbtGJVgakUdq+B9yDu6/WPh8F9OzvkeSZes+cerhiZ epFA== X-Received: by 10.52.164.45 with SMTP id yn13mr2149914vdb.5.1376487315894; Wed, 14 Aug 2013 06:35:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.30.35 with SMTP id p3ls3335742qeh.97.gmail; Wed, 14 Aug 2013 06:35:15 -0700 (PDT) X-Received: by 10.58.118.70 with SMTP id kk6mr9630247veb.1.1376487315786; Wed, 14 Aug 2013 06:35:15 -0700 (PDT) Received: from mail-vb0-f47.google.com (mail-vb0-f47.google.com [209.85.212.47]) by mx.google.com with ESMTPS id gq6si201076veb.129.2013.08.14.06.35.15 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:35:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.47 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.47; Received: by mail-vb0-f47.google.com with SMTP id h10so7645879vbh.34 for <patchwork-forward@linaro.org>; Wed, 14 Aug 2013 06:35:15 -0700 (PDT) X-Gm-Message-State: ALoCoQmR+7f1IGgYRCMTfK6DEwCHv6SJCYGnsA3FKqkyB8IPDinTdfGTwZWCgFwoyw1xX0gcluEb X-Received: by 10.58.201.69 with SMTP id jy5mr569026vec.29.1376487315711; Wed, 14 Aug 2013 06:35: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 u4csp213172vcz; Wed, 14 Aug 2013 06:35:15 -0700 (PDT) X-Received: by 10.66.235.105 with SMTP id ul9mr9767200pac.112.1376487314862; Wed, 14 Aug 2013 06:35:14 -0700 (PDT) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by mx.google.com with ESMTPS id x6si29389595pab.194.2013.08.14.06.35.14 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:35:14 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.172 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.192.172; Received: by mail-pd0-f172.google.com with SMTP id z10so6362151pdj.17 for <patches@linaro.org>; Wed, 14 Aug 2013 06:35:14 -0700 (PDT) X-Received: by 10.68.176.197 with SMTP id ck5mr1110600pbc.44.1376487314462; Wed, 14 Aug 2013 06:35:14 -0700 (PDT) Received: from localhost ([122.172.193.46]) by mx.google.com with ESMTPSA id py4sm50377368pbc.14.2013.08.14.06.35.11 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:35:13 -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> Subject: [PATCH 19/37] cpufreq: longhaul: don't initialize part of policy that is set by core too Date: Wed, 14 Aug 2013 19:02:08 +0530 Message-Id: <04c2fe3a595a11096e89a886b5271951bbe28f47.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.212.47 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/longhaul.c b/drivers/cpufreq/longhaul.c index e566776..45bafdd 100644 --- a/drivers/cpufreq/longhaul.c +++ b/drivers/cpufreq/longhaul.c @@ -904,7 +904,6 @@ static int longhaul_cpu_init(struct cpufreq_policy *policy) longhaul_setup_voltagescaling(); policy->cpuinfo.transition_latency = 200000; /* nsec */ - policy->cur = calc_speed(longhaul_get_cpu_mult()); return cpufreq_table_validate_and_show(policy, longhaul_table); }
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/longhaul.c | 1 - 1 file changed, 1 deletion(-)