diff options
author | Naresh Solanki <naresh.solanki@9elements.com> | 2023-02-10 17:32:25 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-02-10 17:45:30 +0100 |
commit | 6caacd82f09c183a91951776cd8d326e46ef84b4 (patch) | |
tree | 238537c7e54c497e547964d537714a0d806d3be0 /drivers/regulator | |
parent | regulator: tps65219: use generic set_bypass() (diff) | |
download | linux-6caacd82f09c183a91951776cd8d326e46ef84b4.tar.xz linux-6caacd82f09c183a91951776cd8d326e46ef84b4.zip |
regulator: max597x: Remove unused variable
max597x_regmap_config isn't used & hence remove the same.
Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com>
Link: https://lore.kernel.org/r/20230210163225.1208035-1-Naresh.Solanki@9elements.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/max597x-regulator.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/regulator/max597x-regulator.c b/drivers/regulator/max597x-regulator.c index 39f803ff0a90..ab9dc18f98e3 100644 --- a/drivers/regulator/max597x-regulator.c +++ b/drivers/regulator/max597x-regulator.c @@ -357,12 +357,6 @@ static int max597x_irq_handler(int irq, struct regulator_irq_data *rid, return 0; } -static const struct regmap_config max597x_regmap_config = { - .reg_bits = 8, - .val_bits = 8, - .max_register = MAX_REGISTERS, -}; - static int max597x_adc_range(struct regmap *regmap, const int ch, u32 *irng, u32 *mon_rng) { |