diff mbox series

[net-next,04/10] net: sealevel: open brace '{' following struct go on the same line

Message ID 1622355874-18933-5-git-send-email-huangguangbin2@huawei.com
State New
Headers show
Series net: sealevel: clean up some code style issues | expand

Commit Message

huangguangbin (A) May 30, 2021, 6:24 a.m. UTC
From: Peng Li <lipeng321@huawei.com>

Fix the checkpatch error as open brace '{' following struct should
go on the same line.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
---
 drivers/net/wan/sealevel.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/drivers/net/wan/sealevel.c b/drivers/net/wan/sealevel.c
index 465c9ace1dc7..b484d1f7b176 100644
--- a/drivers/net/wan/sealevel.c
+++ b/drivers/net/wan/sealevel.c
@@ -29,14 +29,12 @@ 
 #include <asm/byteorder.h>
 #include "z85230.h"
 
-struct slvl_device
-{
+struct slvl_device {
 	struct z8530_channel *chan;
 	int channel;
 };
 
-struct slvl_board
-{
+struct slvl_board {
 	struct slvl_device dev[2];
 	struct z8530_dev board;
 	int iobase;