Message ID | b8550a59e7afde3b3000f757c841b11cf15dc8e1.1376486713.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBB6EOV2IAKGQEJEGW32I@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 948452390D for <linaro@patches.linaro.org>; Wed, 14 Aug 2013 13:34:48 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id ht10sf5969778vcb.9 for <linaro@patches.linaro.org>; Wed, 14 Aug 2013 06:34:48 -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=xWJAS9h1GpLF2NObHV8SPvwlmHSoIDLayymk10IDG4Q=; b=C/fDAziB6FokL2vtitbCM0XQOUwCNVmMGavrC2aQvlpuhjUZEZGHiUxouppPAfVPp9 tobJl/kR5Rvk3GgrGZMGm/+sfoKwpwbptgduiwF+Ri2b5qkswm39sNtYTNn1ryGVCPhr Lmcu41QLH+k9e3QZSjlAz4YOiDzFFiuuiHHChSYe+B+smfJkbZ20Fow2fFf8m7sDmzH4 LSLNExZ8qBfCq/t8dpgocxtNc9n9xRi6JdQOhuNLBaJTyUwTd5XfDvUIByxpENULqr2I nlyZ3gGr2xXcyDKu+HHaV9mH0ogOwwIhwVi27XjDkt20X4xQz4r3kGYtb/LEA+x4l/Nt og+Q== X-Received: by 10.58.229.65 with SMTP id so1mr2404530vec.33.1376487288340; Wed, 14 Aug 2013 06:34:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.88.38 with SMTP id bd6ls3269331qeb.29.gmail; Wed, 14 Aug 2013 06:34:48 -0700 (PDT) X-Received: by 10.58.155.68 with SMTP id vu4mr3738337veb.21.1376487288123; Wed, 14 Aug 2013 06:34:48 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id gw1si3925830vcb.137.2013.08.14.06.34.48 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:34:48 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.171 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.171; Received: by mail-vc0-f171.google.com with SMTP id ij15so5051856vcb.2 for <patchwork-forward@linaro.org>; Wed, 14 Aug 2013 06:34:48 -0700 (PDT) X-Gm-Message-State: ALoCoQlhEb1jp8/7qQRq4aAErJmsQvdd97urzdyIbPeyZv4KCSTz7LCQNpJp5BkmRhCYpkaApJK3 X-Received: by 10.52.180.229 with SMTP id dr5mr8160484vdc.20.1376487288038; Wed, 14 Aug 2013 06:34:48 -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 u4csp213135vcz; Wed, 14 Aug 2013 06:34:47 -0700 (PDT) X-Received: by 10.66.193.98 with SMTP id hn2mr1538640pac.173.1376487287105; Wed, 14 Aug 2013 06:34:47 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id zo4si28291953pbc.42.2013.08.14.06.34.46 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:34:47 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.160.50; Received: by mail-pb0-f50.google.com with SMTP id uo5so9268729pbc.23 for <patches@linaro.org>; Wed, 14 Aug 2013 06:34:46 -0700 (PDT) X-Received: by 10.68.170.4 with SMTP id ai4mr10028964pbc.86.1376487286727; Wed, 14 Aug 2013 06:34:46 -0700 (PDT) Received: from localhost ([122.172.193.46]) by mx.google.com with ESMTPSA id fk4sm53354228pab.23.2013.08.14.06.34.43 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:34:46 -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>, Tony Luck <tony.luck@intel.com> Subject: [PATCH 15/37] cpufreq: ia64-acpi: don't initialize part of policy that is set by core too Date: Wed, 14 Aug 2013 19:02:04 +0530 Message-Id: <b8550a59e7afde3b3000f757c841b11cf15dc8e1.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.220.171 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 371c63d..4695fa2 100644 --- a/drivers/cpufreq/ia64-acpi-cpufreq.c +++ b/drivers/cpufreq/ia64-acpi-cpufreq.c @@ -290,7 +290,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(-)