From 050d0f2de1d3c2034ebf6d66ba30fe97019002f2 Mon Sep 17 00:00:00 2001 From: S Twiss Date: Mon, 1 Jun 2015 14:00:20 +0100 Subject: regulator: da9062: Remove unused variable build warning 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 Signed-off-by: Mark Brown --- drivers/regulator/da9062-regulator.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/regulator') diff --git a/drivers/regulator/da9062-regulator.c b/drivers/regulator/da9062-regulator.c index e572a654b272..dd76da09b3c7 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 = { }; -- cgit v1.2.3