]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
pinctrl: meson: meson8: rename the "gpio" function to "gpio_periphs"
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 9 Dec 2018 19:50:53 +0000 (20:50 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 21 Dec 2018 09:59:33 +0000 (10:59 +0100)
Rename the existing "gpio" function to "gpio_periphs". This makes it
consistent with the "gpio_aobus" function. Also GXBB and GXL are also
using the "gpio_periphs" naming, so this makes the code here consistent
with other Amlogic pinctrl drivers.

No functional changes since thee "gpio" function is currently not used.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/meson/pinctrl-meson8b.c

index 27ddedf4711515d65decaca0389c59d57dd9c290..49ad206c01b9a60fe9b48889c26972d29241db12 100644 (file)
@@ -622,7 +622,7 @@ static struct meson_pmx_group meson8b_aobus_groups[] = {
        GROUP(i2s_lr_clk_in,    0,      14),
 };
 
-static const char * const gpio_groups[] = {
+static const char * const gpio_periphs_groups[] = {
        "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_4",
        "GPIOX_5", "GPIOX_6", "GPIOX_7", "GPIOX_8", "GPIOX_9",
        "GPIOX_10", "GPIOX_11", "GPIOX_16", "GPIOX_17", "GPIOX_18",
@@ -839,7 +839,7 @@ static const char * const tsin_b_groups[] = {
 };
 
 static struct meson_pmx_func meson8b_cbus_functions[] = {
-       FUNCTION(gpio),
+       FUNCTION(gpio_periphs),
        FUNCTION(sd_a),
        FUNCTION(sdxc_a),
        FUNCTION(pcm_a),