From patchwork Thu Mar 27 11:01:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 27181 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E1E7C202FA for ; Thu, 27 Mar 2014 11:02:37 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id wo20sf12081807obc.6 for ; Thu, 27 Mar 2014 04:02:37 -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:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=aReVlPhndvEoB72A7BTSs1ezD/w1VmsHHAGGlcsR8sA=; b=dlZELTmKkJpKEk1rOwIA+dlgFIOxOza66tt3KqMbBUcK4KRMMPTZh38tfFEEnYfEbv dPEmu0vdC5dkDdnFSLoUIY7vm+UrYr7TpzaC8jwg147wtlK1buQW9Sg4ZjL1C5HOpA+U O7EMPLZSWsyR5pvaG8BQOs3vF33rS7WyqP760fLB2JKBOL7gGPi/OIgoG1yjCfFXar/J +D7k681Z+BAb0dHKTDm9T1j5Ze3qUa91LRpK+VcKLCEJujuj1qT7AwkCu0owsjWja53q XKOeewN2emEpXzzhs+aplTdQidX8DCJXFpYleEV3exGOevPaoh3HOT7dWaVYBbEXa2/B /M1g== X-Gm-Message-State: ALoCoQk9rGkjMMxDTyAIJVr0D3fnTgItQgN1mczkrcL8lqWpYWklvutUXQihk/728kYb99hl1EW+ X-Received: by 10.51.18.97 with SMTP id gl1mr1357948igd.7.1395918157034; Thu, 27 Mar 2014 04:02:37 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.22.75 with SMTP id 69ls1071047qgm.94.gmail; Thu, 27 Mar 2014 04:02:36 -0700 (PDT) X-Received: by 10.52.18.70 with SMTP id u6mr701085vdd.11.1395918156953; Thu, 27 Mar 2014 04:02:36 -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 xt2si454229vcb.33.2014.03.27.04.02.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Mar 2014 04:02:36 -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 lg15so4028763vcb.30 for ; Thu, 27 Mar 2014 04:02:36 -0700 (PDT) X-Received: by 10.58.154.10 with SMTP id vk10mr856711veb.18.1395918156856; Thu, 27 Mar 2014 04:02:36 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp18242vck; Thu, 27 Mar 2014 04:02:36 -0700 (PDT) X-Received: by 10.68.44.71 with SMTP id c7mr1192658pbm.24.1395918155970; Thu, 27 Mar 2014 04:02:35 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qj1si1265680pbb.84.2014.03.27.04.02.35; Thu, 27 Mar 2014 04:02:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755359AbaC0LCe (ORCPT + 12 others); Thu, 27 Mar 2014 07:02:34 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:33753 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755034AbaC0LCd (ORCPT ); Thu, 27 Mar 2014 07:02:33 -0400 Received: by mail-wi0-f170.google.com with SMTP id bs8so5683633wib.3 for ; Thu, 27 Mar 2014 04:02:32 -0700 (PDT) X-Received: by 10.180.87.164 with SMTP id az4mr38681667wib.2.1395918152130; Thu, 27 Mar 2014 04:02:32 -0700 (PDT) Received: from localhost ([213.122.173.131]) by mx.google.com with ESMTPSA id w10sm11255440wiy.9.2014.03.27.04.02.28 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 27 Mar 2014 04:02:31 -0700 (PDT) From: Viresh Kumar To: rjw@rjwysocki.net Cc: linaro-kernel@lists.linaro.org, cpufreq@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Viresh Kumar Subject: [PATCH] cpufreq: ia64: don't set .driver_data to index Date: Thu, 27 Mar 2014 16:31:46 +0530 Message-Id: <10f85cd0fec235a5631017bb1add02cb33a7c648.1395918090.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-pm@vger.kernel.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 Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , .driver_data field is only required to be filled if drivers want to preserve some data in there which they can use according to the value of .frequency field. But this driver isn't using this field at all, but just setting it equal to the index value. Which isn't required. Fix it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/ia64-acpi-cpufreq.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/cpufreq/ia64-acpi-cpufreq.c b/drivers/cpufreq/ia64-acpi-cpufreq.c index 53c6ac6..f0d447d 100644 --- a/drivers/cpufreq/ia64-acpi-cpufreq.c +++ b/drivers/cpufreq/ia64-acpi-cpufreq.c @@ -275,7 +275,6 @@ acpi_cpufreq_cpu_init ( /* table init */ for (i = 0; i <= data->acpi_data.state_count; i++) { - data->freq_table[i].driver_data = i; if (i < data->acpi_data.state_count) { data->freq_table[i].frequency = data->acpi_data.states[i].core_frequency * 1000;