summaryrefslogtreecommitdiff
path: root/drivers/regulator/da9062-regulator.c
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/da9062-regulator.c
parentea6254e5c8e54cc43daea4c13b6c66de18b5295b (diff)
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/da9062-regulator.c')
-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 = { };