Message ID | c2ebc42413ca4a8b8d1a20429eeaffadc8bc239e.1379063063.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBB2U7ZSIQKGQEID5BWAY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B169720358 for <linaro@patches.linaro.org>; Fri, 13 Sep 2013 13:15:22 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id r5sf1199739qcx.0 for <linaro@patches.linaro.org>; Fri, 13 Sep 2013 06:15:22 -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=cJ178d81jmBXwYmp84gK5A0siDesECNzQVANOnThvJU=; b=nOeaURhHq/NxBCsZdUqXCKiFDNtE06wkT8PIN8OhZ5QoSJ4kdI5SxUwXRPVyTrpjIN hMyQy/gtQ/TL0azE/EmQcPwLRT7QMwbRBusCS5Y/W3LBI8Zgz+5z3UMUPJGV9S9+YQYZ EFZrELrbV+RcahTwleCfdYt/XEoX5z55PkWr1u/CdVtp0cxKmKtBGG23QsjEDdtdLH/l LwMdVwb50NKhoFgkFkeKxxY+8jort69ybKEb6SCFIx18dOqpJZaZtddhxNqGO94RWJ0b Qs8uFmRWHp+zI9+/2bvlnM4WhH5VrgM3AUiB0nMLJOuMHu71KWLYC5FNhdYFt+mYlL7t yk+A== X-Gm-Message-State: ALoCoQnq75TwRICKmr27mIiJMoLrn4ShTxOX4cPzrOP4g7Z3mazYTQqjjEYQlrrkhDM4YL7kieTM X-Received: by 10.236.125.232 with SMTP id z68mr362233yhh.56.1379078122423; Fri, 13 Sep 2013 06:15:22 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.128.229 with SMTP id nr5ls547281qeb.94.gmail; Fri, 13 Sep 2013 06:15:22 -0700 (PDT) X-Received: by 10.220.10.194 with SMTP id q2mr11828623vcq.2.1379078122206; Fri, 13 Sep 2013 06:15:22 -0700 (PDT) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx.google.com with ESMTPS id vr9si3097198vcb.126.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:15:22 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.54 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.54; Received: by mail-vb0-f54.google.com with SMTP id q14so894450vbe.13 for <patchwork-forward@linaro.org>; Fri, 13 Sep 2013 06:15:22 -0700 (PDT) X-Received: by 10.52.37.69 with SMTP id w5mr1310089vdj.32.1379078122137; Fri, 13 Sep 2013 06:15:22 -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 u4csp80046vcz; Fri, 13 Sep 2013 06:15:21 -0700 (PDT) X-Received: by 10.68.212.106 with SMTP id nj10mr13470844pbc.74.1379078121154; Fri, 13 Sep 2013 06:15:21 -0700 (PDT) Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) by mx.google.com with ESMTPS id fa1si11141918pab.303.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:15:21 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.42 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.220.42; Received: by mail-pa0-f42.google.com with SMTP id lj1so2537829pab.1 for <patches@linaro.org>; Fri, 13 Sep 2013 06:15:20 -0700 (PDT) X-Received: by 10.67.23.71 with SMTP id hy7mr15049820pad.99.1379078120773; Fri, 13 Sep 2013 06:15:20 -0700 (PDT) Received: from localhost ([122.167.78.148]) by mx.google.com with ESMTPSA id sy10sm18031395pac.15.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:15:20 -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>, Tony Luck <tony.luck@intel.com> Subject: [PATCH 104/228] cpufreq: ia64-acpi: don't initialize part of policy that is set by core too Date: Fri, 13 Sep 2013 18:30:50 +0530 Message-Id: <c2ebc42413ca4a8b8d1a20429eeaffadc8bc239e.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.212.54 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/ia64-acpi-cpufreq.c b/drivers/cpufreq/ia64-acpi-cpufreq.c index b958bdb..90c6598 100644 --- a/drivers/cpufreq/ia64-acpi-cpufreq.c +++ b/drivers/cpufreq/ia64-acpi-cpufreq.c @@ -305,7 +305,6 @@ acpi_cpufreq_cpu_init ( data->acpi_data.states[i].transition_latency * 1000; } } - policy->cur = processor_get_freq(data, policy->cpu); /* table init */ for (i = 0; i <= data->acpi_data.state_count; i++)
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: Tony Luck <tony.luck@intel.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/cpufreq/ia64-acpi-cpufreq.c | 1 - 1 file changed, 1 deletion(-)