Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 6caacd8

Browse files
nsolanki22broonie
authored andcommitted
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>
1 parent 0365df8 commit 6caacd8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/regulator/max597x-regulator.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -357,12 +357,6 @@ static int max597x_irq_handler(int irq, struct regulator_irq_data *rid,
357357
return 0;
358358
}
359359

360-
static const struct regmap_config max597x_regmap_config = {
361-
.reg_bits = 8,
362-
.val_bits = 8,
363-
.max_register = MAX_REGISTERS,
364-
};
365-
366360
static int max597x_adc_range(struct regmap *regmap, const int ch,
367361
u32 *irng, u32 *mon_rng)
368362
{

0 commit comments

Comments
 (0)