Skip to content

Commit 8fe3866

Browse files
Flavio Ceolinnashif
authored andcommitted
power: rename _pm_power_state_ -> pm_power_state
Leftover from old renaming commits. This function is not private and should not start with underscore. Signed-off-by: Flavio Ceolin <[email protected]>
1 parent b9c953c commit 8fe3866

File tree

13 files changed

+15
-15
lines changed

13 files changed

+15
-15
lines changed

include/power/power.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ enum power_states pm_system_suspend(int32_t ticks);
296296
* interrupts after resuming from sleep state. In future, the enabling
297297
* of interrupts may be moved into the kernel.
298298
*/
299-
void _pm_power_state_exit_post_ops(enum power_states state);
299+
void pm_power_state_exit_post_ops(enum power_states state);
300300

301301
/**
302302
* @brief Application defined function for power state entry

soc/arm/microchip_mec/mec1501/power.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ static void z_power_soc_deep_sleep(void)
7171
soc_deep_sleep_periph_restore();
7272

7373
/*
74-
* _pm_power_state_exit_post_ops() is not being called
74+
* pm_power_state_exit_post_ops() is not being called
7575
* after exiting deep sleep, so need to unmask exceptions
7676
* and interrupts here.
7777
*/
@@ -125,7 +125,7 @@ void pm_power_state_set(enum power_states state)
125125
}
126126
}
127127

128-
void _pm_power_state_exit_post_ops(enum power_states state)
128+
void pm_power_state_exit_post_ops(enum power_states state)
129129
{
130130
switch (state) {
131131
#if (defined(CONFIG_PM_SLEEP_STATES))

soc/arm/nordic_nrf/nrf51/power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ void pm_power_state_set(enum power_states state)
2828
}
2929

3030
/* Handle SOC specific activity after Low Power Mode Exit */
31-
void _pm_power_state_exit_post_ops(enum power_states state)
31+
void pm_power_state_exit_post_ops(enum power_states state)
3232
{
3333
switch (state) {
3434
#ifdef CONFIG_PM_DEEP_SLEEP_STATES

soc/arm/nordic_nrf/nrf52/power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ void pm_power_state_set(enum power_states state)
2828
}
2929

3030
/* Handle SOC specific activity after Low Power Mode Exit */
31-
void _pm_power_state_exit_post_ops(enum power_states state)
31+
void pm_power_state_exit_post_ops(enum power_states state)
3232
{
3333
switch (state) {
3434
#ifdef CONFIG_PM_DEEP_SLEEP_STATES

soc/arm/nordic_nrf/nrf53/power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void pm_power_state_set(enum power_states state)
3232
}
3333

3434
/* Handle SOC specific activity after Low Power Mode Exit */
35-
void _pm_power_state_exit_post_ops(enum power_states state)
35+
void pm_power_state_exit_post_ops(enum power_states state)
3636
{
3737
switch (state) {
3838
#ifdef CONFIG_PM_DEEP_SLEEP_STATES

soc/arm/nordic_nrf/nrf91/power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ void pm_power_state_set(enum power_states state)
2929
}
3030

3131
/* Handle SOC specific activity after Low Power Mode Exit */
32-
void _pm_power_state_exit_post_ops(enum power_states state)
32+
void pm_power_state_exit_post_ops(enum power_states state)
3333
{
3434
switch (state) {
3535
#ifdef CONFIG_PM_DEEP_SLEEP_STATES

soc/arm/silabs_exx32/common/soc_power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void pm_power_state_set(enum power_states state)
6464
}
6565

6666
/* Handle SOC specific activity after Low Power Mode Exit */
67-
void _pm_power_state_exit_post_ops(enum power_states state)
67+
void pm_power_state_exit_post_ops(enum power_states state)
6868
{
6969
ARG_UNUSED(state);
7070
}

soc/arm/st_stm32/stm32l4/power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void pm_power_state_set(enum power_states state)
7979
}
8080

8181
/* Handle SOC specific activity after Low Power Mode Exit */
82-
void _pm_power_state_exit_post_ops(enum power_states state)
82+
void pm_power_state_exit_post_ops(enum power_states state)
8383
{
8484
switch (state) {
8585
#ifdef CONFIG_PM_SLEEP_STATES

soc/arm/st_stm32/stm32wb/power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void pm_power_state_set(enum power_states state)
7979
}
8080

8181
/* Handle SOC specific activity after Low Power Mode Exit */
82-
void _pm_power_state_exit_post_ops(enum power_states state)
82+
void pm_power_state_exit_post_ops(enum power_states state)
8383
{
8484
switch (state) {
8585
#ifdef CONFIG_PM_SLEEP_STATES

soc/arm/ti_simplelink/cc13x2_cc26x2/power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ void pm_power_state_set(enum power_states state)
127127
}
128128

129129
/* Handle SOC specific activity after Low Power Mode Exit */
130-
void _pm_power_state_exit_post_ops(enum power_states state)
130+
void pm_power_state_exit_post_ops(enum power_states state)
131131
{
132132
/*
133133
* System is now in active mode. Reenable interrupts which were disabled

0 commit comments

Comments
 (0)