From patchwork Sun Sep 7 15:22:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 36928 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 13BC820491 for ; Sun, 7 Sep 2014 15:23:33 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id b6sf48193346yha.9 for ; Sun, 07 Sep 2014 08:23:32 -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:date :message-id:subject:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=6iv7wzjK9GfqcJ6hYOcmIWkt3TaXd4BrbmMzZ2A0t/k=; b=jbaKXaBbkD+Z7DYf1pAZm4jqfqBeZ7+WgO/Wzgbqw8LfzPJHhlf1YZKDTpUq5YcYwP Kf2V312ZoHRfl5NOF0wuUwOR5Yzhy7Bwe3g/OnX9wjUfPh8jZhaoWhZ+Hf9Yn0OQBhi7 57rZP21ofRmtfVsfsXcSv2S7NVJSWonmHwlob5/Sb4XpfjwYNIYSjbnSB3F8ukOpjAm4 B0XBmr9397ArspD7OTAV9ajmrC5dotR8TsWIv3006HJT9pV44ulqDnS/URNcvkNKlr6s 0EJXxbjPGLEZcljDNnLR2gAAesimONc4Pc8gQSjMsR1Yl2mDA0TXmtoz5ZINruOX/2/E U10w== X-Gm-Message-State: ALoCoQmjR/XSoa2Z+zvPp+SkNxhGuj316z6YqT8P+I46Cj297p8EyN6r1un0l9RJbXYxOuBi92nl X-Received: by 10.52.30.104 with SMTP id r8mr1450844vdh.7.1410103412836; Sun, 07 Sep 2014 08:23:32 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.96.42 with SMTP id j39ls1435335qge.89.gmail; Sun, 07 Sep 2014 08:23:32 -0700 (PDT) X-Received: by 10.52.61.99 with SMTP id o3mr407371vdr.46.1410103412715; Sun, 07 Sep 2014 08:23:32 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id yw7si3613612vdb.63.2014.09.07.08.23.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 07 Sep 2014 08:23:32 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id hy10so186160vcb.19 for ; Sun, 07 Sep 2014 08:23:32 -0700 (PDT) X-Received: by 10.220.44.80 with SMTP id z16mr20949742vce.7.1410103412592; Sun, 07 Sep 2014 08:23:32 -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.45.67 with SMTP id uj3csp19989vcb; Sun, 7 Sep 2014 08:23:32 -0700 (PDT) X-Received: by 10.68.179.66 with SMTP id de2mr12873710pbc.31.1410103411756; Sun, 07 Sep 2014 08:23:31 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l2si13423158pdp.156.2014.09.07.08.23.30 for ; Sun, 07 Sep 2014 08:23:31 -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 S1752559AbaIGPXN (ORCPT + 26 others); Sun, 7 Sep 2014 11:23:13 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:55337 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752375AbaIGPXM (ORCPT ); Sun, 7 Sep 2014 11:23:12 -0400 Received: from host86-177-228-237.range86-177.btcentralplus.com ([86.177.228.237] helo=finisterre) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XQeIz-000313-0f; Sun, 07 Sep 2014 15:23:09 +0000 Received: from broonie by finisterre with local (Exim 4.84) (envelope-from ) id 1XQeIo-0003mY-Kc; Sun, 07 Sep 2014 16:22:54 +0100 From: Mark Brown To: Liam Girdwood Cc: linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org, Mark Brown Date: Sun, 7 Sep 2014 16:22:46 +0100 Message-Id: <1410103366-14503-1-git-send-email-broonie@kernel.org> X-Mailer: git-send-email 2.1.0 X-SA-Exim-Connect-IP: 86.177.228.237 X-SA-Exim-Mail-From: broonie@sirena.org.uk X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mezzanine.sirena.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 Subject: [PATCH] regulator: tps65217: Remove unused driver_data from of_match table X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) 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: broonie@kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 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: , From: Mark Brown We don't ever reference the driver_data we supply so remove it. Signed-off-by: Mark Brown --- drivers/regulator/tps65217-regulator.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/regulator/tps65217-regulator.c b/drivers/regulator/tps65217-regulator.c index d58db72..89593a6 100644 --- a/drivers/regulator/tps65217-regulator.c +++ b/drivers/regulator/tps65217-regulator.c @@ -171,13 +171,13 @@ static const struct regulator_desc regulators[] = { #ifdef CONFIG_OF static struct of_regulator_match reg_matches[] = { - { .name = "dcdc1", .driver_data = (void *)TPS65217_DCDC_1 }, - { .name = "dcdc2", .driver_data = (void *)TPS65217_DCDC_2 }, - { .name = "dcdc3", .driver_data = (void *)TPS65217_DCDC_3 }, - { .name = "ldo1", .driver_data = (void *)TPS65217_LDO_1 }, - { .name = "ldo2", .driver_data = (void *)TPS65217_LDO_2 }, - { .name = "ldo3", .driver_data = (void *)TPS65217_LDO_3 }, - { .name = "ldo4", .driver_data = (void *)TPS65217_LDO_4 }, + { .name = "dcdc1" }, + { .name = "dcdc2" }, + { .name = "dcdc3" }, + { .name = "ldo1" }, + { .name = "ldo2" }, + { .name = "ldo3" }, + { .name = "ldo4" }, }; static struct tps65217_board *tps65217_parse_dt(struct platform_device *pdev)