Skip to contentSkip to conversation

staging: media: lirc: fix coding style error

PATCH In review Sunil Shahu 3 participants 6 messages Jun 17, 2015 – Jun 20, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: media: lirc: fix coding style error

Fix code indentation error by replacing tab in place of spaces.

---
 drivers/staging/media/lirc/lirc_sasem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/lirc/lirc_sasem.c +1 -1
index 8ebee96..12aae72 100644
@@ -185,7 +185,7 @@ static void deregister_from_lirc(struct sasem_context *context)
 		       __func__, retval);
 	else
 		dev_info(&context->dev->dev,
-		         "Deregistered Sasem driver (minor:%d)\n", minor);
+			"Deregistered Sasem driver (minor:%d)\n", minor);
 
 }
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 12 lines · Sunil Shahu

Fix code indentation error by replacing tab in place of spaces.

---
 drivers/staging/media/lirc/lirc_sasem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/lirc/lirc_sasem.c +0 -0
index 8ebee96..12aae72 100644

drivers/staging/media/lirc/lirc_sasem.c static void deregister_from_lirc(struct sasem_context *context) · line 188

Quoted 5 lines
drivers/staging/media/lirc/lirc_sasem.c +1 -1
@@ -185,7 +185,7 @@ static void deregister_from_lirc(struct sasem_context *context)
 		       __func__, retval);
 	else
 		dev_info(&context->dev->dev,
-		         "Deregistered Sasem driver (minor:%d)\n", minor);
+			"Deregistered Sasem driver (minor:%d)\n", minor);

Not quite. The original is:

[tab][tab][space][space][space][space][space][space][space][space][space]"Dere...

You have:

[tab][tab][tab]"Deregistered Sasem driver ...

It should be:

[tab][tab][tab][space]"Deregistered Sasem driver (minor:%d)\n", minor);

regards,
dan carpenter

#2 lore raw

PATCH 1/1 staging: media: lirc: fix coding style error

Fix code indentation error by replacing tab in place of spaces.

---
 drivers/staging/media/lirc/lirc_sasem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/lirc/lirc_sasem.c +1 -1
index 8ebee96..12aae72 100644
@@ -185,7 +185,7 @@ static void deregister_from_lirc(struct sasem_context *context)
 		       __func__, retval);
 	else
 		dev_info(&context->dev->dev,
-		         "Deregistered Sasem driver (minor:%d)\n", minor);
+			"Deregistered Sasem driver (minor:%d)\n", minor);
 
 }
 
Signature · 1 line
1.9.1
#3 lore raw

PATCH 1/1 staging: media: lirc: fix coding style error

In reply to Dan Carpenter

Fix code indentation error by replacing tab in place of spaces.

---
 drivers/staging/media/lirc/lirc_sasem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/lirc/lirc_sasem.c +1 -1
index 8ebee96..c14ca7e 100644
@@ -185,7 +185,7 @@ static void deregister_from_lirc(struct sasem_context *context)
 		       __func__, retval);
 	else
 		dev_info(&context->dev->dev,
-		         "Deregistered Sasem driver (minor:%d)\n", minor);
+			 "Deregistered Sasem driver (minor:%d)\n", minor);
 
 }
 
Signature · 1 line
1.9.1
#4 lore raw
Quoted 3 lines · Sunil Shahu

Fix code indentation error by replacing tab in place of spaces.

when you are sending a modified patch, please mark it as [PATCH v2] otherwise it becomes confusing.

regards
sudip
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in

#5 lore raw

PATCH v2 1/1 staging: media: lirc: fix coding style error

Fix code indentation error by replacing tab in place of spaces.

---
 drivers/staging/media/lirc/lirc_sasem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/lirc/lirc_sasem.c +1 -1
index 8ebee96..c14ca7e 100644
@@ -185,7 +185,7 @@ static void deregister_from_lirc(struct sasem_context *context)
 		       __func__, retval);
 	else
 		dev_info(&context->dev->dev,
-		         "Deregistered Sasem driver (minor:%d)\n", minor);
+			 "Deregistered Sasem driver (minor:%d)\n", minor);
 
 }
 
Signature · 9 lines
1.7.9.5


---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in