From patchwork Mon Jun 30 15:57:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 32771 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3D396203C0 for ; Mon, 30 Jun 2014 16:00:00 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id n16sf53705922oag.10 for ; Mon, 30 Jun 2014 08:59:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=mFchYxPrvr39oWneJxzQwzbGIqLSeqQTbkz7+YjdAgI=; b=kW9EkOUDQACFDEK8bIWeGM21zVNxx39RP95vppOkV0oaLv023+wXYh5p6F9xpBS9Pv q3FbIuSFS/72CHHRamh+QhiCt0VZwflMMjLgbzYwIt3PUX5b8lbvU6rexHizkfaZFneL MQVwIVHrc3yDQmB/DJKXPmlH0tuVIGTJ8KDABoM9/nUpfyxZ9mF6qJswidukVlAchbP+ aLpOaqgxDeXk4g9jWPmSqxRHbihzR2fZQMtYl/IGvT204PHFcBk0dafCRYSn0GJ3lkfZ 4GK56qNyKMlwvs8hybk5L6JLDNTmqgpA19vvdHDNCuAxOOZZuVkc+ulpYoq67kK8xhDi BRGw== X-Gm-Message-State: ALoCoQkMI8FG6FgHAnAw8sdiSMRGoK4ks/JcFVmcGH6B58IUXkDSj3XERw9wJQt6vyDnU11CCDZo X-Received: by 10.182.28.136 with SMTP id b8mr22947706obh.19.1404143999811; Mon, 30 Jun 2014 08:59:59 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.26.241 with SMTP id 104ls259231qgv.21.gmail; Mon, 30 Jun 2014 08:59:59 -0700 (PDT) X-Received: by 10.220.137.145 with SMTP id w17mr1463707vct.47.1404143999683; Mon, 30 Jun 2014 08:59:59 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id ez10si10184406vdb.103.2014.06.30.08.59.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Jun 2014 08:59:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.179 as permitted sender) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id sa20so8273469veb.24 for ; Mon, 30 Jun 2014 08:59:59 -0700 (PDT) X-Received: by 10.58.112.65 with SMTP id io1mr1246974veb.61.1404143999592; Mon, 30 Jun 2014 08:59:59 -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.221.37.5 with SMTP id tc5csp150484vcb; Mon, 30 Jun 2014 08:59:59 -0700 (PDT) X-Received: by 10.66.164.5 with SMTP id ym5mr54027331pab.50.1404143998893; Mon, 30 Jun 2014 08:59:58 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wj5si23672519pbc.22.2014.06.30.08.59.58; Mon, 30 Jun 2014 08:59:58 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756188AbaF3P7u (ORCPT + 27 others); Mon, 30 Jun 2014 11:59:50 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:42878 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755085AbaF3P5t (ORCPT ); Mon, 30 Jun 2014 11:57:49 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s5UFvi07024517; Mon, 30 Jun 2014 10:57:44 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s5UFvhOR001322; Mon, 30 Jun 2014 10:57:43 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Mon, 30 Jun 2014 10:57:43 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s5UFvhs3030392; Mon, 30 Jun 2014 10:57:43 -0500 From: Nishanth Menon To: Liam Girdwood , Mark Brown , Samuel Ortiz , Lee Jones , Keerthy J CC: Tero Kristo , , , , Nishanth Menon Subject: [PATCH V2 4/6] regulator: palmas: Rename palmas_regs_info to palmas_generic_regs_info Date: Mon, 30 Jun 2014 10:57:37 -0500 Message-ID: <1404143859-8160-5-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1404143859-8160-1-git-send-email-nm@ti.com> References: <1404143859-8160-1-git-send-email-nm@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: nm@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.179 as permitted sender) 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: , With commit d6f83370ed978d5570b7c8c22988310cb9376202 (regulator: palmas: Add tps65917 PMIC support) palmas_regs_info naming is confusing as it is a driver data parameter and a local variable. To prevent mistaken updates, rename the local variable to palmas_generic_regs_info. Signed-off-by: Nishanth Menon --- drivers/regulator/palmas-regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index f75fb90..d6b734f 100644 --- a/drivers/regulator/palmas-regulator.c +++ b/drivers/regulator/palmas-regulator.c @@ -41,7 +41,7 @@ static const struct regulator_linear_range smps_high_ranges[] = { REGULATOR_LINEAR_RANGE(3300000, 0x7A, 0x7f, 0), }; -static struct palmas_regs_info palmas_regs_info[] = { +static struct palmas_regs_info palmas_generic_regs_info[] = { { .name = "SMPS12", .sname = "smps1-in", @@ -1417,7 +1417,7 @@ static struct palmas_pmic_driver_data palmas_ddata = { .ldo_begin = PALMAS_REG_LDO1, .ldo_end = PALMAS_REG_LDOUSB, .max_reg = PALMAS_NUM_REGS, - .palmas_regs_info = palmas_regs_info, + .palmas_regs_info = palmas_generic_regs_info, .palmas_matches = palmas_matches, .sleep_req_info = palma_sleep_req_info, .smps_register = palmas_smps_registration,