public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: dgnc: fix coding style in dgnc_tty.c
@ 2016-05-03 18:37 Patryk Mezydlo
  2016-05-03 21:08 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Patryk Mezydlo @ 2016-05-03 18:37 UTC (permalink / raw)
  To: greg; +Cc: mwelling, linux-kernel, lidza.louina

Fix checkpatch.pl warning about 'line over 80 characters'.
I just split line with function.

Signed-off-by: Patryk Mezydlo <mezydlo.p@gmail.com>
---
 drivers/staging/dgnc/dgnc_tty.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c
index 9aa0ba0..b818b0a 100644
--- a/drivers/staging/dgnc/dgnc_tty.c
+++ b/drivers/staging/dgnc/dgnc_tty.c
@@ -186,7 +186,8 @@ int dgnc_tty_register(struct dgnc_board *brd)
 	if (IS_ERR(brd->serial_driver))
 		return PTR_ERR(brd->serial_driver);
 
-	snprintf(brd->serial_name, MAXTTYNAMELEN, "tty_dgnc_%d_", brd->boardnum);
+	snprintf(brd->serial_name, MAXTTYNAMELEN,
+		"tty_dgnc_%d_", brd->boardnum);
 
 	brd->serial_driver->name = brd->serial_name;
 	brd->serial_driver->name_base = 0;
-- 
2.1.4

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

end of thread, other threads:[~2016-05-03 21:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-03 18:37 [PATCH] Staging: dgnc: fix coding style in dgnc_tty.c Patryk Mezydlo
2016-05-03 21:08 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox