Skip to content

Commit

Permalink
regulator: max597x: Remove unused variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Naresh Solanki authored and Mark Brown committed Feb 10, 2023
1 parent 0365df8 commit 6caacd8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/regulator/max597x-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 6caacd8

Please sign in to comment.