regulator: da9062: Remove unused variable build warning
authorS Twiss <stwiss.opensource@diasemi.com>
Mon, 1 Jun 2015 13:00:20 +0000 (14:00 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 2 Jun 2015 11:11:17 +0000 (12:11 +0100)
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>
drivers/regulator/da9062-regulator.c

index e572a654b2722b26052abae49540e47a2190fed3..dd76da09b3c7ffbb7cb3abb972c887c684b1bff0 100644 (file)
@@ -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 = { };
This page took 0.025969 seconds and 5 git commands to generate.