]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: fix formatting issues with braces
authorWenpeng Liang <liangwenpeng@huawei.com>
Wed, 16 Jun 2021 10:01:23 +0000 (18:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2021 19:34:07 +0000 (12:34 -0700)
commitef464f81fa9e8bdd6ee7efc50a495baa2602d07c
tree1827a6d62214def8f076cef5e16c64f826c1f333
parentb5197ba74126a4a37dfd904fec93236a76e421d1
net: phy: fix formatting issues with braces

Fix following format issues:
1. open brace '{' following function definitions should go to the next
   line.
2. braces {} are not necessary for single line statements.
3. else should follow close brace '}'.

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/fixed_phy.c
drivers/net/phy/phy.c
drivers/net/phy/phy_device.c
drivers/net/phy/phylink.c