* [PATCH -next] regulator: tps65219: change tps65219_regulator_irq_types to static
@ 2022-08-26 6:19 Yang Yingliang
2022-08-29 15:39 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Yang Yingliang @ 2022-08-26 6:19 UTC (permalink / raw)
To: linux-kernel, linux-omap; +Cc: jneanne, broonie
tps65219_regulator_irq_types is only used in tps65219-regulator.c now,
change it to static.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
drivers/regulator/tps65219-regulator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regulator/tps65219-regulator.c b/drivers/regulator/tps65219-regulator.c
index 7ba2594e437c..934bf52bbd85 100644
--- a/drivers/regulator/tps65219-regulator.c
+++ b/drivers/regulator/tps65219-regulator.c
@@ -30,7 +30,7 @@ struct tps65219_regulator_irq_type {
unsigned long event;
};
-struct tps65219_regulator_irq_type tps65219_regulator_irq_types[] = {
+static struct tps65219_regulator_irq_type tps65219_regulator_irq_types[] = {
{ "LDO3_SCG", "LDO3", "short circuit to ground", REGULATOR_EVENT_REGULATION_OUT },
{ "LDO3_OC", "LDO3", "overcurrent", REGULATOR_EVENT_OVER_CURRENT },
{ "LDO3_UV", "LDO3", "undervoltage", REGULATOR_EVENT_UNDER_VOLTAGE },
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -next] regulator: tps65219: change tps65219_regulator_irq_types to static
2022-08-26 6:19 [PATCH -next] regulator: tps65219: change tps65219_regulator_irq_types to static Yang Yingliang
@ 2022-08-29 15:39 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2022-08-29 15:39 UTC (permalink / raw)
To: Yang Yingliang, linux-kernel, linux-omap; +Cc: jneanne
On Fri, 26 Aug 2022 14:19:41 +0800, Yang Yingliang wrote:
> tps65219_regulator_irq_types is only used in tps65219-regulator.c now,
> change it to static.
>
>
Applied to
broonie/regulator.git for-next
Thanks!
[1/1] regulator: tps65219: change tps65219_regulator_irq_types to static
commit: b662748ff2e8ff99daabdfbd928270f25f29a9fd
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:[~2022-08-29 15:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-26 6:19 [PATCH -next] regulator: tps65219: change tps65219_regulator_irq_types to static Yang Yingliang
2022-08-29 15:39 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®