]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
power: pmic: mtk-pwrap: use tabs for alignment
authorJulien Stephan <jstephan@baylibre.com>
Thu, 9 Apr 2026 20:30:39 +0000 (15:30 -0500)
committerDavid Lechner <dlechner@baylibre.com>
Wed, 29 Apr 2026 14:26:52 +0000 (09:26 -0500)
Fix mt8188_regs definition to use tabs instead of spaces for alignment
to be consistent with other definitions.

Reviewed-by: Macpaul Lin <macpaul.lin@mediatek.com>
Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Link: https://patch.msgid.link/20260409-mtk-pmic-fixes-v2-7-73e83aa6345b@baylibre.com
Signed-off-by: David Lechner <dlechner@baylibre.com>
drivers/power/pmic/mtk-pwrap.c

index d41a43c8c95b670649ac6f9315077afecff6b3fd..9a249c796e727fef9a1eef024902388c02f9eb5d 100644 (file)
@@ -251,20 +251,20 @@ enum pwrap_regs {
 };
 
 static int mt8188_regs[] = {
-       [PWRAP_INIT_DONE2] =            0x0,
-       [PWRAP_STAUPD_CTRL] =           0x4C,
-       [PWRAP_TIMER_EN] =              0x3E4,
-       [PWRAP_INT_EN] =                0x420,
-       [PWRAP_INT_FLG] =               0x428,
-       [PWRAP_INT_CLR] =               0x42C,
-       [PWRAP_INT1_EN] =               0x450,
-       [PWRAP_INT1_FLG] =              0x458,
-       [PWRAP_INT1_CLR] =              0x45C,
-       [PWRAP_WACS2_CMD] =             0x880,
-       [PWRAP_SWINF_2_WDATA_31_0] =    0x884,
-       [PWRAP_SWINF_2_RDATA_31_0] =    0x894,
-       [PWRAP_WACS2_VLDCLR] =          0x8A4,
-       [PWRAP_WACS2_RDATA] =           0x8A8,
+       [PWRAP_INIT_DONE2] =            0x0,
+       [PWRAP_STAUPD_CTRL] =           0x4C,
+       [PWRAP_TIMER_EN] =              0x3E4,
+       [PWRAP_INT_EN] =                0x420,
+       [PWRAP_INT_FLG] =               0x428,
+       [PWRAP_INT_CLR] =               0x42C,
+       [PWRAP_INT1_EN] =               0x450,
+       [PWRAP_INT1_FLG] =              0x458,
+       [PWRAP_INT1_CLR] =              0x45C,
+       [PWRAP_WACS2_CMD] =             0x880,
+       [PWRAP_SWINF_2_WDATA_31_0] =    0x884,
+       [PWRAP_SWINF_2_RDATA_31_0] =    0x894,
+       [PWRAP_WACS2_VLDCLR] =          0x8A4,
+       [PWRAP_WACS2_RDATA] =           0x8A8,
 };
 
 static int mt8189_regs[] = {