aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorS Twiss <stwiss.opensource@diasemi.com>2015-06-01 14:00:20 +0100
committerMark Brown <broonie@kernel.org>2015-06-02 12:11:17 +0100
commit050d0f2de1d3c2034ebf6d66ba30fe97019002f2 (patch)
treeda45356673dcc0d5b309ee0249c2c0c8df0a654b /drivers/regulator
parentregulator: da9062: Fix modalias (diff)
downloadlinux-dev-050d0f2de1d3c2034ebf6d66ba30fe97019002f2.tar.xz
linux-dev-050d0f2de1d3c2034ebf6d66ba30fe97019002f2.zip
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 <stwiss.opensource@diasemi.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/da9062-regulator.c1
1 files changed, 0 insertions, 1 deletions
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 = { };