Skip to content

Commit 824a241

Browse files
jerome-pouillermmahadevan108
authored andcommitted
soc: silabs: Drop useless comments after "endif"
It is a good practice to add a comment after #endif when the condition is not obvious. However, when the condition is well known, "Don't Repeat Yourself" rule applies and no comment should be added. Signed-off-by: Jérôme Pouiller <[email protected]>
1 parent 7edafe0 commit 824a241

File tree

19 files changed

+19
-19
lines changed

19 files changed

+19
-19
lines changed

soc/silabs/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ config SOC_GECKO_PM_BACKEND_EMU
130130
help
131131
Implement PM using direct calls to EMU driver in emlib
132132

133-
endif
133+
endif # PM
134134

135135
config SOC_GECKO_EMU_DCDC
136136
bool "SoC DC/DC regulator"

soc/silabs/silabs_s0/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ config SOC_FAMILY_SILABS_S0
1010

1111
rsource "*/Kconfig"
1212

13-
endif # SOC_FAMILY_SILABS_S0
13+
endif

soc/silabs/silabs_s0/efm32hg/Kconfig.defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ config NUM_IRQS
88
# must be >= the highest interrupt number used
99
default 20
1010

11-
endif # SOC_SERIES_EFM32HG
11+
endif

soc/silabs/silabs_s0/efm32wg/Kconfig.defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ config NUM_IRQS
77
# must be >= the highest interrupt number used
88
default 39
99

10-
endif # SOC_SERIES_EFM32WG
10+
endif

soc/silabs/silabs_s1/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ config SOC_FAMILY_SILABS_S1
1010

1111
rsource "*/Kconfig"
1212

13-
endif # SOC_FAMILY_SILABS_S1
13+
endif

soc/silabs/silabs_s1/efm32gg11b/Kconfig.defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ config GPIO_GECKO
1313
default y
1414
depends on GPIO || LOG_BACKEND_SWO
1515

16-
endif # SOC_SERIES_EFM32GG11B
16+
endif

soc/silabs/silabs_s1/efm32gg12b/Kconfig.defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ config GPIO_GECKO
1212
default y
1313
depends on GPIO || LOG_BACKEND_SWO
1414

15-
endif # SOC_SERIES_EFM32GG12B
15+
endif

soc/silabs/silabs_s1/efm32jg12b/Kconfig.defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ config NUM_IRQS
77
# must be >= the highest interrupt number used
88
default 50
99

10-
endif # SOC_SERIES_EFM32JG12B
10+
endif

soc/silabs/silabs_s1/efm32pg12b/Kconfig.defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ config NUM_IRQS
77
# must be >= the highest interrupt number used
88
default 50
99

10-
endif # SOC_SERIES_EFM32PG12B
10+
endif

soc/silabs/silabs_s1/efm32pg1b/Kconfig.defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ config NUM_IRQS
77
# must be >= the highest interrupt number used
88
default 34
99

10-
endif # SOC_SERIES_EFM32PG1B
10+
endif

0 commit comments

Comments
 (0)