Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: remove empty lines in pinctrl subsystem

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>

authored by

Zhaoyu Liu and committed by
Linus Walleij
43878eb7 c6d21295

-13
-1
drivers/pinctrl/actions/pinctrl-owl.c
··· 444 444 *config = pinconf_to_config_packed(param, arg); 445 445 446 446 return ret; 447 - 448 447 } 449 448 450 449 static int owl_group_config_set(struct pinctrl_dev *pctrldev,
-1
drivers/pinctrl/core.c
··· 2117 2117 return ERR_PTR(error); 2118 2118 2119 2119 return pctldev; 2120 - 2121 2120 } 2122 2121 EXPORT_SYMBOL_GPL(pinctrl_register); 2123 2122
-1
drivers/pinctrl/freescale/pinctrl-imx1-core.c
··· 290 290 .pin_dbg_show = imx1_pin_dbg_show, 291 291 .dt_node_to_map = imx1_dt_node_to_map, 292 292 .dt_free_map = imx1_dt_free_map, 293 - 294 293 }; 295 294 296 295 static int imx1_pmx_set(struct pinctrl_dev *pctldev, unsigned selector,
-1
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
··· 188 188 PIN_GRP_GPIO_2("led1_od", 12, 1, BIT(21), BIT(21), 0, "led"), 189 189 PIN_GRP_GPIO_2("led2_od", 13, 1, BIT(22), BIT(22), 0, "led"), 190 190 PIN_GRP_GPIO_2("led3_od", 14, 1, BIT(23), BIT(23), 0, "led"), 191 - 192 191 }; 193 192 194 193 static struct armada_37xx_pin_group armada_37xx_sb_groups[] = {
-1
drivers/pinctrl/pinctrl-at91.c
··· 733 733 .get_slewrate = at91_mux_sam9x60_get_slewrate, 734 734 .set_slewrate = at91_mux_sam9x60_set_slewrate, 735 735 .irq_type = alt_gpio_irq_type, 736 - 737 736 }; 738 737 739 738 static struct at91_pinctrl_mux_ops sama5d3_ops = {
-1
drivers/pinctrl/pinctrl-st.c
··· 541 541 st_regmap_field_bit_set_clear_pin(rt_p->delay_0, delay & 0x1, pin); 542 542 /* 2 bit delay, msb */ 543 543 st_regmap_field_bit_set_clear_pin(rt_p->delay_1, delay & 0x2, pin); 544 - 545 544 } 546 545 547 546 static void st_pinconf_set_retime_dedicated(struct st_pinctrl *info,
-1
drivers/pinctrl/pinctrl-sx150x.c
··· 443 443 sx150x_gpio_oscio_set(pctl, value); 444 444 else 445 445 __sx150x_gpio_set(pctl, offset, value); 446 - 447 446 } 448 447 449 448 static void sx150x_gpio_set_multiple(struct gpio_chip *chip,
-1
drivers/pinctrl/qcom/pinctrl-sdm845.c
··· 1310 1310 .ngpios = 151, 1311 1311 .wakeirq_map = sdm845_pdc_map, 1312 1312 .nwakeirq_map = ARRAY_SIZE(sdm845_pdc_map), 1313 - 1314 1313 }; 1315 1314 1316 1315 static const struct msm_pinctrl_soc_data sdm845_acpi_pinctrl = {
-1
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c
··· 617 617 } 618 618 break; 619 619 } 620 - 621 620 } 622 621 623 622 static void pm8xxx_mpp_dbg_show(struct seq_file *s, struct gpio_chip *chip)
-1
drivers/pinctrl/renesas/pfc-r8a77950.c
··· 1668 1668 PIN_AVB_RX_CTL, PIN_AVB_RXC, PIN_AVB_RD0, 1669 1669 PIN_AVB_RD1, PIN_AVB_RD2, PIN_AVB_RD3, 1670 1670 PIN_AVB_TXCREFCLK, 1671 - 1672 1671 }; 1673 1672 static const unsigned int avb_mii_mux[] = { 1674 1673 AVB_TX_CTL_MARK, AVB_TXC_MARK, AVB_TD0_MARK,
-1
drivers/pinctrl/renesas/pfc-r8a77951.c
··· 1727 1727 PIN_AVB_RX_CTL, PIN_AVB_RXC, PIN_AVB_RD0, 1728 1728 PIN_AVB_RD1, PIN_AVB_RD2, PIN_AVB_RD3, 1729 1729 PIN_AVB_TXCREFCLK, 1730 - 1731 1730 }; 1732 1731 static const unsigned int avb_mii_mux[] = { 1733 1732 AVB_TX_CTL_MARK, AVB_TXC_MARK, AVB_TD0_MARK,
-1
drivers/pinctrl/renesas/pfc-r8a7796.c
··· 1731 1731 PIN_AVB_RX_CTL, PIN_AVB_RXC, PIN_AVB_RD0, 1732 1732 PIN_AVB_RD1, PIN_AVB_RD2, PIN_AVB_RD3, 1733 1733 PIN_AVB_TXCREFCLK, 1734 - 1735 1734 }; 1736 1735 static const unsigned int avb_mii_mux[] = { 1737 1736 AVB_TX_CTL_MARK, AVB_TXC_MARK, AVB_TD0_MARK,
-1
drivers/pinctrl/renesas/pfc-r8a77965.c
··· 1736 1736 PIN_AVB_RX_CTL, PIN_AVB_RXC, PIN_AVB_RD0, 1737 1737 PIN_AVB_RD1, PIN_AVB_RD2, PIN_AVB_RD3, 1738 1738 PIN_AVB_TXCREFCLK, 1739 - 1740 1739 }; 1741 1740 static const unsigned int avb_mii_mux[] = { 1742 1741 AVB_TX_CTL_MARK, AVB_TXC_MARK, AVB_TD0_MARK,