[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1450466456-13694-1-git-send-email-bjosh.thyks@gmail.com>
Date: Sat, 19 Dec 2015 00:50:56 +0530
From: Bijosh Thykkoottathil <bijosh.thyks@...il.com>
To: gregkh@...uxfoundation.org
Cc: willy@...a-x.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org,
Bijosh Thykkoottathil <bijosh.thyks@...il.com>
Subject: [PATCH 1/1] staging: coding style cleanups for staging/panel driver
From: Bijosh Thykkoottathil <bijosh.thyks@...il.com>
This patch fixes coding style errors for staging/panel driver.
Signed-off-by: Bijosh Thykkoottathil <bijosh.thyks@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists