pinctrl: renesas: r8a77995: Restore pin group sort order
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 26 Jan 2022 12:29:31 +0000 (13:29 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 8 Feb 2022 08:54:44 +0000 (09:54 +0100)
Move the msiof* pin groups where they belong.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/da1018c56134b910121b085b736fe7f664b96df1.1643199959.git.geert+renesas@glider.be
drivers/pinctrl/renesas/pfc-r8a77995.c

index 7851948..5cbbd43 100644 (file)
@@ -2230,6 +2230,49 @@ static const char * const mmc_groups[] = {
        "mmc_ctrl",
 };
 
+static const char * const msiof0_groups[] = {
+       "msiof0_clk",
+       "msiof0_sync",
+       "msiof0_ss1",
+       "msiof0_ss2",
+       "msiof0_txd",
+       "msiof0_rxd",
+};
+
+static const char * const msiof1_groups[] = {
+       "msiof1_clk",
+       "msiof1_sync",
+       "msiof1_ss1",
+       "msiof1_ss2",
+       "msiof1_txd",
+       "msiof1_rxd",
+};
+
+static const char * const msiof2_groups[] = {
+       "msiof2_clk",
+       "msiof2_sync_a",
+       "msiof2_sync_b",
+       "msiof2_ss1",
+       "msiof2_ss2",
+       "msiof2_txd",
+       "msiof2_rxd",
+};
+
+static const char * const msiof3_groups[] = {
+       "msiof3_clk_a",
+       "msiof3_sync_a",
+       "msiof3_ss1_a",
+       "msiof3_ss2_a",
+       "msiof3_txd_a",
+       "msiof3_rxd_a",
+       "msiof3_clk_b",
+       "msiof3_sync_b",
+       "msiof3_ss1_b",
+       "msiof3_ss2_b",
+       "msiof3_txd_b",
+       "msiof3_rxd_b",
+};
+
 static const char * const pwm0_groups[] = {
        "pwm0_a",
        "pwm0_b",
@@ -2327,49 +2370,6 @@ static const char * const vin4_groups[] = {
        "vin4_clk",
 };
 
-static const char * const msiof0_groups[] = {
-       "msiof0_clk",
-       "msiof0_sync",
-       "msiof0_ss1",
-       "msiof0_ss2",
-       "msiof0_txd",
-       "msiof0_rxd",
-};
-
-static const char * const msiof1_groups[] = {
-       "msiof1_clk",
-       "msiof1_sync",
-       "msiof1_ss1",
-       "msiof1_ss2",
-       "msiof1_txd",
-       "msiof1_rxd",
-};
-
-static const char * const msiof2_groups[] = {
-       "msiof2_clk",
-       "msiof2_sync_a",
-       "msiof2_sync_b",
-       "msiof2_ss1",
-       "msiof2_ss2",
-       "msiof2_txd",
-       "msiof2_rxd",
-};
-
-static const char * const msiof3_groups[] = {
-       "msiof3_clk_a",
-       "msiof3_sync_a",
-       "msiof3_ss1_a",
-       "msiof3_ss2_a",
-       "msiof3_txd_a",
-       "msiof3_rxd_a",
-       "msiof3_clk_b",
-       "msiof3_sync_b",
-       "msiof3_ss1_b",
-       "msiof3_ss2_b",
-       "msiof3_txd_b",
-       "msiof3_rxd_b",
-};
-
 static const struct sh_pfc_function pinmux_functions[] = {
        SH_PFC_FUNCTION(audio_clk),
        SH_PFC_FUNCTION(avb0),