]> 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)
commit75de38426a8658b4f52f9926705bc2080e65e820
tree1827a6d62214def8f076cef5e16c64f826c1f333
parent39c54e3cb2f19a5dfc7a3ea49970f512c1e619ee
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