From: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
To: willy@meta-x.org
Cc: gregkh@linuxfoundation.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org,
Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Subject: [PATCH 2/2] Staging: panel: Remove space
Date: Sun, 27 Dec 2015 12:17:18 +0100 [thread overview]
Message-ID: <0572f4e25ded36735f8afb200085fa0ce0f43472.1451214623.git.ksenija.stanojevic@gmail.com> (raw)
In-Reply-To: <cover.1451214623.git.ksenija.stanojevic@gmail.com>
No space is necessary after a cast, therefore remove it.
Found by checkpatch.pl
Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
---
drivers/staging/panel/panel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c
index 7171c5d..567b584 100644
--- a/drivers/staging/panel/panel.c
+++ b/drivers/staging/panel/panel.c
@@ -1790,7 +1790,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) {
/*
@@ -1806,7 +1806,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 */
}
--
1.9.1
prev parent reply other threads:[~2015-12-27 11:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-27 11:15 [PATCH 0/2] Staging: panel: Fix checkpatch warnings Ksenija Stanojevic
2015-12-27 11:16 ` [PATCH 1/2] Staging: panel: Fix line over 80 characters Ksenija Stanojevic
2015-12-30 5:01 ` Sudip Mukherjee
2015-12-30 10:13 ` Ksenija Stanojević
2015-12-30 11:32 ` Sudip Mukherjee
2015-12-27 11:17 ` Ksenija Stanojevic [this message]
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=0572f4e25ded36735f8afb200085fa0ce0f43472.1451214623.git.ksenija.stanojevic@gmail.com \
--to=ksenija.stanojevic@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=willy@meta-x.org \
/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®