diff mbox series

[v2,2/2] media: av7110: fix prohibited spaces in switch statement

Message ID 20220320163618.41054-2-ahamedhusni73@gmail.com
State Accepted
Commit 868519693b823f614c21372204920642eecefa7d
Headers show
Series media: av7110: av7110_av: Fix Switch and Case Same Indent Style Error | expand

Commit Message

Ahamed Husni March 20, 2022, 4:36 p.m. UTC
This patch fixes "space prohibited before that ':'" checkpatch error
in the switch statements.

Suggested-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
---
V1->V2: Prohibited space fix after patch review.

 drivers/staging/media/av7110/av7110_av.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
diff mbox series

Patch

diff --git a/drivers/staging/media/av7110/av7110_av.c b/drivers/staging/media/av7110/av7110_av.c
index 1d42862e9669..ab7cf496b454 100644
--- a/drivers/staging/media/av7110/av7110_av.c
+++ b/drivers/staging/media/av7110/av7110_av.c
@@ -595,10 +595,10 @@  static int find_pes_header(u8 const *buf, long int length, int *frags)
 			case PROG_STREAM_MAP:
 			case PRIVATE_STREAM2:
 			case PROG_STREAM_DIR:
-			case ECM_STREAM     :
-			case EMM_STREAM     :
-			case PADDING_STREAM :
-			case DSM_CC_STREAM  :
+			case ECM_STREAM:
+			case EMM_STREAM:
+			case PADDING_STREAM:
+			case DSM_CC_STREAM:
 			case ISO13522_STREAM:
 			case PRIVATE_STREAM1:
 			case AUDIO_STREAM_S ... AUDIO_STREAM_E:
@@ -659,10 +659,10 @@  void av7110_p2t_write(u8 const *buf, long int length, u16 pid, struct av7110_p2t
 			case PROG_STREAM_MAP:
 			case PRIVATE_STREAM2:
 			case PROG_STREAM_DIR:
-			case ECM_STREAM     :
-			case EMM_STREAM     :
-			case PADDING_STREAM :
-			case DSM_CC_STREAM  :
+			case ECM_STREAM:
+			case EMM_STREAM:
+			case PADDING_STREAM:
+			case DSM_CC_STREAM:
 			case ISO13522_STREAM:
 			case PRIVATE_STREAM1:
 			case AUDIO_STREAM_S ... AUDIO_STREAM_E:
@@ -773,10 +773,10 @@  static void p_to_t(u8 const *buf, long int length, u16 pid, u8 *counter,
 		case PROG_STREAM_MAP:
 		case PRIVATE_STREAM2:
 		case PROG_STREAM_DIR:
-		case ECM_STREAM     :
-		case EMM_STREAM     :
-		case PADDING_STREAM :
-		case DSM_CC_STREAM  :
+		case ECM_STREAM:
+		case EMM_STREAM:
+		case PADDING_STREAM:
+		case DSM_CC_STREAM:
 		case ISO13522_STREAM:
 		case PRIVATE_STREAM1:
 		case AUDIO_STREAM_S ... AUDIO_STREAM_E: