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

Commit 257ee3c6 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

regulator: aat2870: Remove unused min_uV and max_uV from struct aat2870_regulator



Both min_uV and max_uV are not used in the code, remove them.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 4506c6d5
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -33,9 +33,6 @@ struct aat2870_regulator {
	struct aat2870_data *aat2870;
	struct aat2870_data *aat2870;
	struct regulator_desc desc;
	struct regulator_desc desc;


	int min_uV;
	int max_uV;

	u8 enable_addr;
	u8 enable_addr;
	u8 enable_shift;
	u8 enable_shift;
	u8 enable_mask;
	u8 enable_mask;
@@ -127,8 +124,6 @@ static const unsigned int aat2870_ldo_voltages[] = {
			.type = REGULATOR_VOLTAGE,	\
			.type = REGULATOR_VOLTAGE,	\
			.owner = THIS_MODULE,		\
			.owner = THIS_MODULE,		\
		},					\
		},					\
		.min_uV = 1200000,			\
		.max_uV = 3300000,			\
	}
	}


static struct aat2870_regulator aat2870_regulators[] = {
static struct aat2870_regulator aat2870_regulators[] = {