From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753397AbbFANIG (ORCPT ); Mon, 1 Jun 2015 09:08:06 -0400 Received: from mail1.bemta3.messagelabs.com ([195.245.230.162]:32651 "EHLO mail1.bemta3.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752738AbbFANHA (ORCPT ); Mon, 1 Jun 2015 09:07:00 -0400 X-Env-Sender: stwiss.opensource@diasemi.com X-Msg-Ref: server-2.tower-38.messagelabs.com!1433163989!900339!1 X-Originating-IP: [82.210.246.133] X-StarScan-Received: X-StarScan-Version: 6.13.16; banners=-,-,- X-VirusChecked: Checked Message-ID: <201506011306.t51D6Ski017669@swsrvapps-01.diasemi.com> From: S Twiss Date: Mon, 1 Jun 2015 14:00:20 +0100 Subject: [PATCH V1] regulators: da9062: Remove unused variable build warning To: LINUXKERNEL , Liam Girdwood , Mark Brown CC: David Dajun Chen , Support Opensource MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: 8d172408-bd6a-42b1-8e53-daaedf35a5af Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: S Twiss Remove the unused variable build warning for reg_matches that appears during the compilation of the DA9062 regulator driver. da9062-regulator.c: In function da9062_regulator_probe: da9062-regulator.c:727:29: warning: unused variable reg_matches Signed-off-by: Steve Twiss --- This patch applies against linux-next and next-20150528 drivers/regulator/da9062-regulator.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/regulator/da9062-regulator.c b/drivers/regulator/da9062-regulator.c index e572a65..dd76da0 100644 --- a/drivers/regulator/da9062-regulator.c +++ b/drivers/regulator/da9062-regulator.c @@ -724,7 +724,6 @@ ldo_lim_error: static int da9062_regulator_probe(struct platform_device *pdev) { struct da9062 *chip = dev_get_drvdata(pdev->dev.parent); - struct of_regulator_match *reg_matches = NULL; struct da9062_regulators *regulators; struct da9062_regulator *regl; struct regulator_config config = { }; -- end-of-patch for PATCH V1