summaryrefslogtreecommitdiff
path: root/power
diff options
context:
space:
mode:
Diffstat (limited to 'power')
-rw-r--r--power/common.c6
-rw-r--r--power/intel_x86.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/power/common.c b/power/common.c
index c1675d31f2..65c1cf0779 100644
--- a/power/common.c
+++ b/power/common.c
@@ -521,12 +521,12 @@ static enum power_state power_common_state(void)
break;
case POWER_S4:
- /* fallthrough */
+ __fallthrough;
case POWER_S3:
- /* fallthrough */
+ __fallthrough;
case POWER_S0:
#ifdef CONFIG_POWER_S0IX
- /* fallthrough */
+ __fallthrough;
case POWER_S0ix:
#endif
/* Wait for a message */
diff --git a/power/intel_x86.c b/power/intel_x86.c
index 1c9f2ef8c8..4fa3aa3c8e 100644
--- a/power/intel_x86.c
+++ b/power/intel_x86.c
@@ -381,7 +381,7 @@ enum power_state common_intel_x86_power_handle_state(enum power_state state)
return POWER_S4; /* Power down to the next state */
case POWER_S5S3:
- /* fallthrough */
+ __fallthrough;
case POWER_S4S3:
if (!power_has_signals(IN_PGOOD_ALL_CORE)) {
/* Required rail went away */