mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Aviv Ben-Yosef <aviv.by@gmail.com>
To: Eng.Linux@digi.com, gregkh@suse.de, lucas.demarchi@profusion.mobi
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	Aviv Ben-Yosef <aviv.by@gmail.com>
Subject: [PATCH 1/1] Staging: tty: epca: fixing return code-style issue
Date: Sat,  4 Jun 2011 05:09:33 -0700	[thread overview]
Message-ID: <1307189373-28487-1-git-send-email-aviv.by@gmail.com> (raw)

Fixed a coding-style issue, ``return'' with parens.

Signed-off-by: Aviv Ben-Yosef <aviv.by@gmail.com>
---
 drivers/staging/tty/epca.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/tty/epca.c b/drivers/staging/tty/epca.c
index 7f1369e..2a4ba10 100644
--- a/drivers/staging/tty/epca.c
+++ b/drivers/staging/tty/epca.c
@@ -792,7 +792,7 @@ static int pc_open(struct tty_struct *tty, struct file *filp)
 	}
 	if (boardnum >= num_cards || boards[boardnum].status == DISABLED)  {
 		tty->driver_data = NULL;   /* Mark this device as 'down' */
-		return(-ENODEV);
+		return -ENODEV;
 	}
 
 	bc = ch->brdchan;
-- 
1.7.1


                 reply	other threads:[~2011-06-04 12:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1307189373-28487-1-git-send-email-aviv.by@gmail.com \
    --to=aviv.by@gmail.com \
    --cc=Eng.Linux@digi.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lucas.demarchi@profusion.mobi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®