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

Commit 9654fbe9 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Mark Brown
Browse files

regulator: max8973: Remove unused field from 'struct max8973_chip'



The 'struct regulator_dev *rdev' of 'struct max8973_chip' isn't used
anywhere in the driver so it can be removed safely.

Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 21024dee
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -93,7 +93,6 @@
struct max8973_chip {
	struct device *dev;
	struct regulator_desc desc;
	struct regulator_dev *rdev;
	struct regmap *regmap;
	bool enable_external_control;
	int dvs_gpio;
@@ -472,7 +471,6 @@ static int max8973_probe(struct i2c_client *client,
		return ret;
	}

	max->rdev = rdev;
	return 0;
}