linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Drivers:input:mousedev.c: Fixed trailing statement on the next line
@ 2014-11-29 16:20 Athira S
  2014-11-29 17:54 ` Joe Perches
  0 siblings, 1 reply; 4+ messages in thread
From: Athira S @ 2014-11-29 16:20 UTC (permalink / raw)
  To: dmitry.torokhov; +Cc: linux-input, linux-kernel, Athira S

Fixed checkpatch error:
trailing statements should be on next line

signed-off-by: Athira S <athirasnamby@gmail.com>
---
 drivers/input/mousedev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c
index be2cc5c..28988f5 100644
--- a/drivers/input/mousedev.c
+++ b/drivers/input/mousedev.c
@@ -248,8 +248,8 @@ static void mousedev_key_event(struct mousedev *mousedev,
 	case BTN_4:
 	case BTN_EXTRA:		index = 4; break;
 
-	default:
-	return;
+	default:	
+				return;
 	}
 
 	if (value) {
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [PATCH] Drivers:input:mousedev.c: Fixed trailing statement on the next line
@ 2014-11-29 15:39 Athira S
  2014-11-29 16:02 ` Belisko Marek
  0 siblings, 1 reply; 4+ messages in thread
From: Athira S @ 2014-11-29 15:39 UTC (permalink / raw)
  To: dmitry.torokhov; +Cc: linux-input, linux-kernel, Athira S

Fixed checkpatch error:
trailing statements should be on next line

Signed-off-by: Athira S <athirasnamby@gmail.com>
---
 drivers/input/mousedev.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c
index b604564..be2cc5c 100644
--- a/drivers/input/mousedev.c
+++ b/drivers/input/mousedev.c
@@ -248,7 +248,8 @@ static void mousedev_key_event(struct mousedev *mousedev,
 	case BTN_4:
 	case BTN_EXTRA:		index = 4; break;
 
-	default:		return;
+	default:
+	return;
 	}
 
 	if (value) {
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-11-29 17:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-29 16:20 [PATCH] Drivers:input:mousedev.c: Fixed trailing statement on the next line Athira S
2014-11-29 17:54 ` Joe Perches
  -- strict thread matches above, loose matches on Subject: below --
2014-11-29 15:39 Athira S
2014-11-29 16:02 ` Belisko Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).