* [PATCH] regulator: max597x: Remove unused variable
@ 2023-02-10 16:32 Naresh Solanki
2023-02-10 18:06 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Naresh Solanki @ 2023-02-10 16:32 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood; +Cc: Naresh Solanki, linux-kernel
max597x_regmap_config isn't used & hence remove the same.
Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com>
---
drivers/regulator/max597x-regulator.c | 6 ------
1 file changed, 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)
{
base-commit: e4b37538f6f7c24a13d6bede4e75f60f213bd2ea
--
2.39.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] regulator: max597x: Remove unused variable
2023-02-10 16:32 [PATCH] regulator: max597x: Remove unused variable Naresh Solanki
@ 2023-02-10 18:06 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2023-02-10 18:06 UTC (permalink / raw)
To: Liam Girdwood, Naresh Solanki; +Cc: Naresh Solanki, linux-kernel
On Fri, 10 Feb 2023 17:32:25 +0100, Naresh Solanki wrote:
> max597x_regmap_config isn't used & hence remove the same.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[1/1] regulator: max597x: Remove unused variable
commit: 6caacd82f09c183a91951776cd8d326e46ef84b4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-10 18:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-10 16:32 [PATCH] regulator: max597x: Remove unused variable Naresh Solanki
2023-02-10 18:06 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox