summaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgnc
diff options
context:
space:
mode:
authorRehas Sachdeva2016-02-26 16:59:20 +0100
committerGreg Kroah-Hartman2016-03-12 07:09:09 +0100
commit8e8d27f7d5063a0f5aef00f9eb3e213d12927717 (patch)
tree9cd68dfb71fa0792b6ef11e38e9d2404b482c4bf /drivers/staging/dgnc
parentstaging: dgnc: Avoid multiple blank lines (diff)
downloadkernel-qcow2-linux-8e8d27f7d5063a0f5aef00f9eb3e213d12927717.tar.gz
kernel-qcow2-linux-8e8d27f7d5063a0f5aef00f9eb3e213d12927717.tar.xz
kernel-qcow2-linux-8e8d27f7d5063a0f5aef00f9eb3e213d12927717.zip
staging: dgnc: Fix block comment style
This patch fixes the block comment style. 1. The checkpatch.pl warning: Block comments use a trailing */ on a separate line. 2. '====' separator is unnecessary and should not be used. Signed-off-by: Rehas Sachdeva <aquannie@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r--drivers/staging/dgnc/dgnc_tty.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c
index 1b37f7b9a581..23047201f952 100644
--- a/drivers/staging/dgnc/dgnc_tty.c
+++ b/drivers/staging/dgnc/dgnc_tty.c
@@ -443,15 +443,13 @@ void dgnc_tty_uninit(struct dgnc_board *brd)
brd->PrintDriver.termios = NULL;
}
-/*=======================================================================
- *
+/*
* dgnc_wmove - Write data to transmit queue.
*
* ch - Pointer to channel structure.
* buf - Pointer to characters to be moved.
* n - Number of characters to move.
- *
- *=======================================================================*/
+ */
static void dgnc_wmove(struct channel_t *ch, char *buf, uint n)
{
int remain;
@@ -489,13 +487,11 @@ static void dgnc_wmove(struct channel_t *ch, char *buf, uint n)
ch->ch_w_head = head;
}
-/*=======================================================================
- *
+/*
* dgnc_input - Process received data.
*
* ch - Pointer to channel structure.
- *
- *=======================================================================*/
+ */
void dgnc_input(struct channel_t *ch)
{
struct dgnc_board *bd;