]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: phy: remove unnecessary line continuation
authorWenpeng Liang <liangwenpeng@huawei.com>
Wed, 16 Jun 2021 10:01:25 +0000 (18:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2021 19:34:07 +0000 (12:34 -0700)
Avoid unnecessary line continuations, and put '|' at the end of line.

Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83640.c
drivers/net/phy/et1011c.c

index 10769bfb1298432324d82be1d416e71a7da38055..705c16675b80c1405caa6bca5b182a742fff2f91 100644 (file)
@@ -170,9 +170,9 @@ static ushort gpio_tab[GPIO_TABLE_SIZE] = {
 module_param(chosen_phy, int, 0444);
 module_param_array(gpio_tab, ushort, NULL, 0444);
 
-MODULE_PARM_DESC(chosen_phy, \
+MODULE_PARM_DESC(chosen_phy,
        "The address of the PHY to use for the ancillary clock features");
-MODULE_PARM_DESC(gpio_tab, \
+MODULE_PARM_DESC(gpio_tab,
        "Which GPIO line to use for which purpose: cal,perout,extts1,...,extts6");
 
 static void dp83640_gpio_defaults(struct ptp_pin_desc *pd)
index 07bb484ba40200dfbf2c4ef0dae28fe83bba9d37..be1b71d7cab7ee3a0bfe43d72d2a785b6acd35b4 100644 (file)
@@ -73,10 +73,10 @@ static int et1011c_read_status(struct phy_device *phydev)
                                        ET1011C_GIGABIT_SPEED) {
                        val = phy_read(phydev, ET1011C_CONFIG_REG);
                        val &= ~ET1011C_TX_FIFO_MASK;
-                       phy_write(phydev, ET1011C_CONFIG_REG, val\
-                                       | ET1011C_GMII_INTERFACE\
-                                       | ET1011C_SYS_CLK_EN\
-                                       | ET1011C_TX_FIFO_DEPTH_16);
+                       phy_write(phydev, ET1011C_CONFIG_REG, val |
+                                         ET1011C_GMII_INTERFACE |
+                                         ET1011C_SYS_CLK_EN |
+                                         ET1011C_TX_FIFO_DEPTH_16);
 
                }
        }