[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1554255610-31746-1-git-send-email-cristianoborgescardoso@gmail.com>
Date: Tue, 2 Apr 2019 21:40:10 -0400
From: Cristiano Borges Cardoso <cristianoborgescardoso@...il.com>
To: gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
lkcamp@...ts.libreplanetbr.org, cristianoborgescardoso@...il.com
Subject: [PATCH] staging: zoran: fix brace in the wrong line
fix the following error from checkpatch:
ERROR: that open brace { should be on the previous line
Signed-off-by: Cristiano Borges Cardoso <cristianoborgescardoso@...il.com>
---
drivers/staging/media/zoran/zoran_card.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/media/zoran/zoran_card.c b/drivers/staging/media/zoran/zoran_card.c
index a6b9ebd..ab3e39d 100644
--- a/drivers/staging/media/zoran/zoran_card.c
+++ b/drivers/staging/media/zoran/zoran_card.c
@@ -1148,8 +1148,7 @@ static struct videocodec_master *zoran_setup_videocodec(struct zoran *zr,
strlcpy(m->name, ZR_DEVNAME(zr), sizeof(m->name));
m->data = zr;
- switch (type)
- {
+ switch (type) {
case CODEC_TYPE_ZR36060:
m->readreg = zr36060_read;
m->writereg = zr36060_write;
--
2.7.4
Powered by blists - more mailing lists