Skip to content

Commit c385256

Browse files
committed
pinctrl: renesas: rzg2l: Rename rzg2l_gpio_configs[]
The rzg2l_gpio_configs array is really related to the RZ/G2L (R9A07G044) Soc only. Hence rename it to r9a07g044_gpio_configs[]. Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/19958e63a2b793be5182640c4301ec5a77a507f6.1695369116.git.geert+renesas@glider.be
1 parent dd462cf commit c385256

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/pinctrl/renesas/pinctrl-rzg2l.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ static const char * const rzg2l_gpio_names[] = {
985985
"P48_0", "P48_1", "P48_2", "P48_3", "P48_4", "P48_5", "P48_6", "P48_7",
986986
};
987987

988-
static const u32 rzg2l_gpio_configs[] = {
988+
static const u32 r9a07g044_gpio_configs[] = {
989989
RZG2L_GPIO_PORT_PACK(2, 0x10, RZG2L_MPXED_PIN_FUNCS),
990990
RZG2L_GPIO_PORT_PACK(2, 0x11, RZG2L_MPXED_PIN_FUNCS),
991991
RZG2L_GPIO_PORT_PACK(2, 0x12, RZG2L_MPXED_PIN_FUNCS),
@@ -1485,7 +1485,7 @@ static int rzg2l_pinctrl_probe(struct platform_device *pdev)
14851485
struct clk *clk;
14861486
int ret;
14871487

1488-
BUILD_BUG_ON(ARRAY_SIZE(rzg2l_gpio_configs) * RZG2L_PINS_PER_PORT >
1488+
BUILD_BUG_ON(ARRAY_SIZE(r9a07g044_gpio_configs) * RZG2L_PINS_PER_PORT >
14891489
ARRAY_SIZE(rzg2l_gpio_names));
14901490

14911491
BUILD_BUG_ON(ARRAY_SIZE(r9a07g043_gpio_configs) * RZG2L_PINS_PER_PORT >
@@ -1535,10 +1535,10 @@ static struct rzg2l_pinctrl_data r9a07g043_data = {
15351535

15361536
static struct rzg2l_pinctrl_data r9a07g044_data = {
15371537
.port_pins = rzg2l_gpio_names,
1538-
.port_pin_configs = rzg2l_gpio_configs,
1539-
.n_ports = ARRAY_SIZE(rzg2l_gpio_configs),
1538+
.port_pin_configs = r9a07g044_gpio_configs,
1539+
.n_ports = ARRAY_SIZE(r9a07g044_gpio_configs),
15401540
.dedicated_pins = rzg2l_dedicated_pins.common,
1541-
.n_port_pins = ARRAY_SIZE(rzg2l_gpio_configs) * RZG2L_PINS_PER_PORT,
1541+
.n_port_pins = ARRAY_SIZE(r9a07g044_gpio_configs) * RZG2L_PINS_PER_PORT,
15421542
.n_dedicated_pins = ARRAY_SIZE(rzg2l_dedicated_pins.common) +
15431543
ARRAY_SIZE(rzg2l_dedicated_pins.rzg2l_pins),
15441544
};

0 commit comments

Comments
 (0)