summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/gunze.c
diff options
context:
space:
mode:
authorHardik Singh Rathore <hardiksingh.k@gmail.com>2018-12-21 01:06:42 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2018-12-21 01:08:51 -0800
commit249d1bb22901a214f3e7265362057fba471b7204 (patch)
tree85ca146550577111804cbf3c2ef52dded2736ef0 /drivers/input/touchscreen/gunze.c
parent0b9f28fed3f70ff9a0380fe308739dd72a30a6f6 (diff)
downloadlwn-249d1bb22901a214f3e7265362057fba471b7204.tar.gz
lwn-249d1bb22901a214f3e7265362057fba471b7204.zip
Input: touchscreen - fix coding style issue
This patch fixes the coding style problem reported by checkpatch.pl as below: ERROR: foo* bar should be "foo *bar" Signed-off-by: Hardik Singh Rathore <hardiksingh.k@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/gunze.c')
-rw-r--r--drivers/input/touchscreen/gunze.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/gunze.c b/drivers/input/touchscreen/gunze.c
index 054c2537b392..56cf1a1ea3ea 100644
--- a/drivers/input/touchscreen/gunze.c
+++ b/drivers/input/touchscreen/gunze.c
@@ -53,7 +53,7 @@ struct gunze {
char phys[32];
};
-static void gunze_process_packet(struct gunze* gunze)
+static void gunze_process_packet(struct gunze *gunze)
{
struct input_dev *dev = gunze->dev;
@@ -72,7 +72,7 @@ static void gunze_process_packet(struct gunze* gunze)
static irqreturn_t gunze_interrupt(struct serio *serio,
unsigned char data, unsigned int flags)
{
- struct gunze* gunze = serio_get_drvdata(serio);
+ struct gunze *gunze = serio_get_drvdata(serio);
if (data == '\r') {
gunze_process_packet(gunze);