pinctrl: remove empty lines in pinctrl subsystem
authorZhaoyu Liu <zackary.liu.pro@gmail.com>
Sun, 20 Dec 2020 08:37:19 +0000 (16:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:11 +0000 (13:40 +0200)
[ Upstream commit 43878eb7c83d3335af7737dcce1fa79071065dfe ]

Remove all empty lines at the end of functions in pinctrl subsystem,
and make the code neat.

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Zhaoyu Liu <zackaryliu@yeah.net>
Link: https://lore.kernel.org/r/X98NP6NFK1Afzrgd@manjaro
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
13 files changed:
drivers/pinctrl/actions/pinctrl-owl.c
drivers/pinctrl/core.c
drivers/pinctrl/freescale/pinctrl-imx1-core.c
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
drivers/pinctrl/pinctrl-at91.c
drivers/pinctrl/pinctrl-st.c
drivers/pinctrl/pinctrl-sx150x.c
drivers/pinctrl/qcom/pinctrl-sdm845.c
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c
drivers/pinctrl/renesas/pfc-r8a77950.c
drivers/pinctrl/renesas/pfc-r8a77951.c
drivers/pinctrl/renesas/pfc-r8a7796.c
drivers/pinctrl/renesas/pfc-r8a77965.c

index 903a4baf3846c20cbb1b31e3bc4ab636668227ab..c8b3e396ea27570f97f6bb8b79f0d193610007cb 100644 (file)
@@ -444,7 +444,6 @@ static int owl_group_config_get(struct pinctrl_dev *pctrldev,
        *config = pinconf_to_config_packed(param, arg);
 
        return ret;
-
 }
 
 static int owl_group_config_set(struct pinctrl_dev *pctrldev,
index 20b477cd5a30a38a5dae68171331267f6bb06011..6e6825d17a1d149eef539b2e0c53f4df1a9125ca 100644 (file)
@@ -2119,7 +2119,6 @@ struct pinctrl_dev *pinctrl_register(struct pinctrl_desc *pctldesc,
                return ERR_PTR(error);
 
        return pctldev;
-
 }
 EXPORT_SYMBOL_GPL(pinctrl_register);
 
index 08d110078c4398434409fab4ddad9662f162b55e..70186448d2f4ac436fd38186b98a4a0abd7cc488 100644 (file)
@@ -290,7 +290,6 @@ static const struct pinctrl_ops imx1_pctrl_ops = {
        .pin_dbg_show = imx1_pin_dbg_show,
        .dt_node_to_map = imx1_dt_node_to_map,
        .dt_free_map = imx1_dt_free_map,
-
 };
 
 static int imx1_pmx_set(struct pinctrl_dev *pctldev, unsigned selector,
index 68894e9e05d2ef273ceb46fe9062dd5fb3592db5..5a68e242f6b349a87dadab7a9483e97d588da394 100644 (file)
@@ -188,7 +188,6 @@ static struct armada_37xx_pin_group armada_37xx_nb_groups[] = {
        PIN_GRP_GPIO_2("led1_od", 12, 1, BIT(21), BIT(21), 0, "led"),
        PIN_GRP_GPIO_2("led2_od", 13, 1, BIT(22), BIT(22), 0, "led"),
        PIN_GRP_GPIO_2("led3_od", 14, 1, BIT(23), BIT(23), 0, "led"),
-
 };
 
 static struct armada_37xx_pin_group armada_37xx_sb_groups[] = {
index 72edc675431ce824d637ede01a3c912f7864f250..9015486e38c18fd12a3ba54b231bdbc7d5733390 100644 (file)
@@ -733,7 +733,6 @@ static const struct at91_pinctrl_mux_ops sam9x60_ops = {
        .get_slewrate   = at91_mux_sam9x60_get_slewrate,
        .set_slewrate   = at91_mux_sam9x60_set_slewrate,
        .irq_type       = alt_gpio_irq_type,
-
 };
 
 static struct at91_pinctrl_mux_ops sama5d3_ops = {
index 7b8c7a0b13de09b483dd054e6cc47a47e0447349..43d9e6c7fd81f6177b7d0df0db5deac41896b568 100644 (file)
@@ -541,7 +541,6 @@ static void st_pinconf_set_retime_packed(struct st_pinctrl *info,
        st_regmap_field_bit_set_clear_pin(rt_p->delay_0, delay & 0x1, pin);
        /* 2 bit delay, msb */
        st_regmap_field_bit_set_clear_pin(rt_p->delay_1, delay & 0x2, pin);
-
 }
 
 static void st_pinconf_set_retime_dedicated(struct st_pinctrl *info,
index c110f780407bd0c156f422fd88b2afb8fc1389d7..484a3b9e875c19b49ec7d24f8c9af298344dfe47 100644 (file)
@@ -443,7 +443,6 @@ static void sx150x_gpio_set(struct gpio_chip *chip, unsigned int offset,
                sx150x_gpio_oscio_set(pctl, value);
        else
                __sx150x_gpio_set(pctl, offset, value);
-
 }
 
 static void sx150x_gpio_set_multiple(struct gpio_chip *chip,
index 2834d2c1338c80614b461e661366d826118bc1ae..c51793f6546f1c20c06aa946ffd52da4a9937f69 100644 (file)
@@ -1310,7 +1310,6 @@ static const struct msm_pinctrl_soc_data sdm845_pinctrl = {
        .ngpios = 151,
        .wakeirq_map = sdm845_pdc_map,
        .nwakeirq_map = ARRAY_SIZE(sdm845_pdc_map),
-
 };
 
 static const struct msm_pinctrl_soc_data sdm845_acpi_pinctrl = {
index 681d8dcf37e34b548e997b0546c8e38336c67421..92e7f2602847cff81861ea1e24ebe313111c0fee 100644 (file)
@@ -617,7 +617,6 @@ static void pm8xxx_mpp_dbg_show_one(struct seq_file *s,
                }
                break;
        }
-
 }
 
 static void pm8xxx_mpp_dbg_show(struct seq_file *s, struct gpio_chip *chip)
index 04812e62f3a476a808656e7198f4f0234efbdffd..9d89da2319e56479727823ac1670e5fbd62a1894 100644 (file)
@@ -1668,7 +1668,6 @@ static const unsigned int avb_mii_pins[] = {
        PIN_AVB_RX_CTL, PIN_AVB_RXC, PIN_AVB_RD0,
        PIN_AVB_RD1, PIN_AVB_RD2, PIN_AVB_RD3,
        PIN_AVB_TXCREFCLK,
-
 };
 static const unsigned int avb_mii_mux[] = {
        AVB_TX_CTL_MARK, AVB_TXC_MARK, AVB_TD0_MARK,
index a94ebe0bf5d0612740729defd997c2602e00eb3b..4aea6e4b71571e1e9969c2287f1ad4a734b68e23 100644 (file)
@@ -1727,7 +1727,6 @@ static const unsigned int avb_mii_pins[] = {
        PIN_AVB_RX_CTL, PIN_AVB_RXC, PIN_AVB_RD0,
        PIN_AVB_RD1, PIN_AVB_RD2, PIN_AVB_RD3,
        PIN_AVB_TXCREFCLK,
-
 };
 static const unsigned int avb_mii_mux[] = {
        AVB_TX_CTL_MARK, AVB_TXC_MARK, AVB_TD0_MARK,
index 3878d6b0db149196ec215de85469c83486bea934..a67fa0e4df7c746ff419184cd6d81b8492f317fa 100644 (file)
@@ -1732,7 +1732,6 @@ static const unsigned int avb_mii_pins[] = {
        PIN_AVB_RX_CTL, PIN_AVB_RXC, PIN_AVB_RD0,
        PIN_AVB_RD1, PIN_AVB_RD2, PIN_AVB_RD3,
        PIN_AVB_TXCREFCLK,
-
 };
 static const unsigned int avb_mii_mux[] = {
        AVB_TX_CTL_MARK, AVB_TXC_MARK, AVB_TD0_MARK,
index 7a50b9b69a7dc4e384d77b6543f5c3c54e17273a..7db2b7f2ff678c9251edccba39cfd72507f125cb 100644 (file)
@@ -1736,7 +1736,6 @@ static const unsigned int avb_mii_pins[] = {
        PIN_AVB_RX_CTL, PIN_AVB_RXC, PIN_AVB_RD0,
        PIN_AVB_RD1, PIN_AVB_RD2, PIN_AVB_RD3,
        PIN_AVB_TXCREFCLK,
-
 };
 static const unsigned int avb_mii_mux[] = {
        AVB_TX_CTL_MARK, AVB_TXC_MARK, AVB_TD0_MARK,