Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 050d0f2d authored by S Twiss's avatar S Twiss Committed by Mark Brown
Browse files

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: default avatarSteve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ea6254e5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -724,7 +724,6 @@ static irqreturn_t da9062_ldo_lim_event(int irq, void *data)
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 = { };