projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57919f4
)
regulator: tps65219: change tps65219_regulator_irq_types to static
author
Yang Yingliang
<yangyingliang@huawei.com>
Fri, 26 Aug 2022 06:19:41 +0000
(14:19 +0800)
committer
Mark Brown
<broonie@kernel.org>
Sun, 28 Aug 2022 21:04:07 +0000
(22:04 +0100)
tps65219_regulator_irq_types is only used in tps65219-regulator.c now,
change it to static.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link:
https://lore.kernel.org/r/20220826061941.1814723-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/tps65219-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/tps65219-regulator.c
b/drivers/regulator/tps65219-regulator.c
index
ab16e66
..
e202c8e
100644
(file)
--- 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[] = {
+st
atic st
ruct 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 },