All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bijosh T <bijosh.thyks@gmail.com>
To: gregkh@linuxfoundation.org
Cc: willy@meta-x.org, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org, Bijosh T <bijosh.thyks@gmail.com>
Subject: [PATCH 1/1] staging: coding style cleanups for staging/panel driver
Date: Fri, 18 Dec 2015 14:48:58 +0530	[thread overview]
Message-ID: <1450430338-13539-1-git-send-email-bjosh.thyks@gmail.com> (raw)

From: Bijosh T <bijosh.thyks@gmail.com>

This patch fixes coding style errors for staging/panel driver.

Signed-off-by: Bijosh T <bijosh.thyks@gmail.com>
---
 drivers/staging/panel/panel.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c
index 79ac192..04d86f3 100644
--- a/drivers/staging/panel/panel.c
+++ b/drivers/staging/panel/panel.c
@@ -947,7 +947,8 @@ static void lcd_clear_fast_s(void)
 		lcd_send_serial(0x5F);	/* R/W=W, RS=1 */
 		lcd_send_serial(' ' & 0x0F);
 		lcd_send_serial((' ' >> 4) & 0x0F);
-		usleep_range(40, 100);	/* the shortest data takes at least 40 us */
+		/* the shortest data takes at least 40 us */
+		usleep_range(40, 100);
 	}
 	spin_unlock_irq(&pprt_lock);
 
@@ -1788,7 +1789,7 @@ static void phys_scan_contacts(void)
 	gndmask = PNL_PINPUT(r_str(pprt)) & scan_mask_i;
 
 	/* grounded inputs are signals 40-44 */
-	phys_read |= (pmask_t) gndmask << 40;
+	phys_read |= (pmask_t)gndmask << 40;
 
 	if (bitmask != gndmask) {
 		/*
@@ -1804,7 +1805,7 @@ static void phys_scan_contacts(void)
 
 			w_dtr(pprt, oldval & ~bitval);	/* enable this output */
 			bitmask = PNL_PINPUT(r_str(pprt)) & ~gndmask;
-			phys_read |= (pmask_t) bitmask << (5 * bit);
+			phys_read |= (pmask_t)bitmask << (5 * bit);
 		}
 		w_dtr(pprt, oldval);	/* disable all outputs */
 	}
-- 
2.5.0


             reply	other threads:[~2015-12-18  9:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-18  9:18 Bijosh T [this message]
2015-12-18 12:54 ` Willy Tarreau
2015-12-18 16:01 ` Greg KH
2015-12-19  6:25   ` Sudip Mukherjee
2015-12-19  7:02     ` Willy Tarreau
2015-12-18 19:20 Bijosh Thykkoottathil
2016-01-29  6:21 ` Greg KH

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=1450430338-13539-1-git-send-email-bjosh.thyks@gmail.com \
    --to=bijosh.thyks@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=willy@meta-x.org \
    --subject='Re: [PATCH 1/1] staging: coding style cleanups for staging/panel driver' \
    /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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.