Skip to content

Commit b3dc633

Browse files
Mathieu Choplainkartben
authored andcommitted
dts: arm: st: stm32u5: remove U suffix from "clocks" in DTSI
PR 79683 added unnecessary U suffix to constants in DTSI. This bloats the files for no reason and is starting to spread as people use the DTSI for reference in other places, and so copy this bad pattern. Remove the useless U suffixes in DTSI files for this series. Signed-off-by: Mathieu Choplain <[email protected]>
1 parent 116f2cc commit b3dc633

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dts/arm/st/u5/stm32u5.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@
476476
#address-cells = <1>;
477477
#size-cells = <0>;
478478
reg = <0x40015404 0x20>;
479-
clocks = <&rcc STM32_CLOCK(APB2, 21U)>,
479+
clocks = <&rcc STM32_CLOCK(APB2, 21)>,
480480
<&rcc STM32_SRC_PLL2_P SAI1_SEL(0)>;
481481
dmas = <&gpdma1 1 36 (STM32_DMA_MODE_NORMAL | STM32_DMA_PRIORITY_HIGH |
482482
STM32_DMA_16BITS)>;
@@ -488,7 +488,7 @@
488488
#address-cells = <1>;
489489
#size-cells = <0>;
490490
reg = <0x40015424 0x20>;
491-
clocks = <&rcc STM32_CLOCK(APB2, 21U)>,
491+
clocks = <&rcc STM32_CLOCK(APB2, 21)>,
492492
<&rcc STM32_SRC_PLL2_P SAI1_SEL(0)>;
493493
dmas = <&gpdma1 0 37 (STM32_DMA_MODE_NORMAL | STM32_DMA_PRIORITY_HIGH |
494494
STM32_DMA_16BITS)>;
@@ -725,9 +725,9 @@
725725
reg = <0x420d2400 0x400>, <0x70000000 DT_SIZE_M(256)>;
726726
interrupts = <120 0>;
727727
clock-names = "ospix", "ospi-ker", "ospi-mgr";
728-
clocks = <&rcc STM32_CLOCK(AHB2_2, 8U)>,
728+
clocks = <&rcc STM32_CLOCK(AHB2_2, 8)>,
729729
<&rcc STM32_SRC_SYSCLK OCTOSPI_SEL(0)>,
730-
<&rcc STM32_CLOCK(AHB2, 21U)>;
730+
<&rcc STM32_CLOCK(AHB2, 21)>;
731731
#address-cells = <1>;
732732
#size-cells = <0>;
733733
status = "disabled";

0 commit comments

Comments
 (0)