From patchwork Fri Mar 28 13:41:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 27285 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f72.google.com (mail-pa0-f72.google.com [209.85.220.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 61BED20062 for ; Fri, 28 Mar 2014 13:41:59 +0000 (UTC) Received: by mail-pa0-f72.google.com with SMTP id bj1sf12106196pad.7 for ; Fri, 28 Mar 2014 06:41:58 -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=iJsdC5rYSz1AxIfK2oHycr++ym4k0daGVJgmPS2WZ3k=; b=OcwBs+nHiv9PA3hldQGRJ53Yjsyu1rBRtXyPij9PgOLuTiYu9XqKb+/YGMNzWgbuwZ sWulWSWfbw1I/ARjYaiuo8aecJm9kq86vNhfCohJ8ESJRXam23dfVb9In3wYOQpJd+uG Kg0Lc7RSVQ+ggB6l8wJ3lSiX70FBgrO8487NKubaGkPYNJ5eCnnuW5ksimNFm+rHqseo 3GVU6Z6qLih+FQtDtavP6qu2ly1SNbx90xMouoqdjnxnURALSLokaaLJSBYJ0A8ND6XW PKa1/e9JCwbskNqqm+kgF2WwNfMT8cYkdW0gsl3v8Q5zKupXvlHrySnghZFt+QvYrj0K E95Q== X-Gm-Message-State: ALoCoQkNMOQIj59anjPz/ksjcdshdwV5YsFl0eYfPDylK41p78hY6Sv/gS/sVyF3yCYvnesMhAOR X-Received: by 10.66.141.135 with SMTP id ro7mr3187175pab.28.1396014118649; Fri, 28 Mar 2014 06:41:58 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.81.8 with SMTP id e8ls1477827qgd.39.gmail; Fri, 28 Mar 2014 06:41:58 -0700 (PDT) X-Received: by 10.58.38.166 with SMTP id h6mr1466156vek.22.1396014118546; Fri, 28 Mar 2014 06:41:58 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id e10si1258672vcq.2.2014.03.28.06.41.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Mar 2014 06:41:58 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id oy12so5665165veb.18 for ; Fri, 28 Mar 2014 06:41:58 -0700 (PDT) X-Received: by 10.220.162.6 with SMTP id t6mr7374740vcx.12.1396014118468; Fri, 28 Mar 2014 06:41:58 -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.12.8 with SMTP id v8csp9781vcv; Fri, 28 Mar 2014 06:41:58 -0700 (PDT) X-Received: by 10.66.146.229 with SMTP id tf5mr8876498pab.50.1396014117564; Fri, 28 Mar 2014 06:41:57 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id uh7si3733608pbc.39.2014.03.28.06.41.57; Fri, 28 Mar 2014 06:41:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of cpufreq-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 S1751427AbaC1Nl4 (ORCPT + 6 others); Fri, 28 Mar 2014 09:41:56 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:37783 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751249AbaC1Nlz (ORCPT ); Fri, 28 Mar 2014 09:41:55 -0400 Received: by mail-pd0-f178.google.com with SMTP id x10so4848027pdj.23 for ; Fri, 28 Mar 2014 06:41:54 -0700 (PDT) X-Received: by 10.66.25.7 with SMTP id y7mr8620309paf.151.1396014114831; Fri, 28 Mar 2014 06:41:54 -0700 (PDT) Received: from localhost ([122.178.232.239]) by mx.google.com with ESMTPSA id dn1sm23299121pbb.54.2014.03.28.06.41.50 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 28 Mar 2014 06:41:54 -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, srivatsa.bhat@linux.vnet.ibm.com, ego@linux.vnet.ibm.com, svaidy@linux.vnet.ibm.com, l.majewski@samsung.com, Viresh Kumar Subject: [PATCH V2 1/4] cpufreq: ia64: don't set .driver_data to index Date: Fri, 28 Mar 2014 19:11:44 +0530 Message-Id: <57f831e4e1d45b7d81bc4cf4a94946db57360366.1396013927.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e Sender: cpufreq-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: cpufreq@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.128.173 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 --- V1->V2: No Change Hi Rafael, To avoid confusion I am sending all related cpufreq patches again. 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 a22b5d1..beb191b 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;