[PATCH] staging: zoran: fix brace in the wrong line
From: Cristiano Borges Cardoso
Date: Tue Apr 02 2019 - 21:42:09 EST
fix the following error from checkpatch:
ERROR: that open brace { should be on the previous line
Signed-off-by: Cristiano Borges Cardoso <cristianoborgescardoso@xxxxxxxxx>
---
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