Skip to content

Commit 249d1bb

Browse files
Hardik Singh Rathoredtor
authored andcommitted
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 <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 0b9f28f commit 249d1bb

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

drivers/input/touchscreen/ad7879.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ static int ad7879_open(struct input_dev *input)
289289
return 0;
290290
}
291291

292-
static void ad7879_close(struct input_dev* input)
292+
static void ad7879_close(struct input_dev *input)
293293
{
294294
struct ad7879 *ts = input_get_drvdata(input);
295295

drivers/input/touchscreen/ektf2127.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ struct ektf2127_ts {
5151
struct touchscreen_properties prop;
5252
};
5353

54-
static void ektf2127_parse_coordinates(const u8* buf, unsigned int touch_count,
54+
static void ektf2127_parse_coordinates(const u8 *buf, unsigned int touch_count,
5555
struct input_mt_pos *touches)
5656
{
5757
int index = 0;

drivers/input/touchscreen/gunze.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct gunze {
5353
char phys[32];
5454
};
5555

56-
static void gunze_process_packet(struct gunze* gunze)
56+
static void gunze_process_packet(struct gunze *gunze)
5757
{
5858
struct input_dev *dev = gunze->dev;
5959

@@ -72,7 +72,7 @@ static void gunze_process_packet(struct gunze* gunze)
7272
static irqreturn_t gunze_interrupt(struct serio *serio,
7373
unsigned char data, unsigned int flags)
7474
{
75-
struct gunze* gunze = serio_get_drvdata(serio);
75+
struct gunze *gunze = serio_get_drvdata(serio);
7676

7777
if (data == '\r') {
7878
gunze_process_packet(gunze);

drivers/input/touchscreen/inexio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ static void inexio_process_data(struct inexio *pinexio)
7979
static irqreturn_t inexio_interrupt(struct serio *serio,
8080
unsigned char data, unsigned int flags)
8181
{
82-
struct inexio* pinexio = serio_get_drvdata(serio);
82+
struct inexio *pinexio = serio_get_drvdata(serio);
8383

8484
pinexio->data[pinexio->idx] = data;
8585

@@ -97,7 +97,7 @@ static irqreturn_t inexio_interrupt(struct serio *serio,
9797

9898
static void inexio_disconnect(struct serio *serio)
9999
{
100-
struct inexio* pinexio = serio_get_drvdata(serio);
100+
struct inexio *pinexio = serio_get_drvdata(serio);
101101

102102
input_get_device(pinexio->dev);
103103
input_unregister_device(pinexio->dev);

drivers/input/touchscreen/mtouch.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ static void mtouch_process_response(struct mtouch *mtouch)
9090
static irqreturn_t mtouch_interrupt(struct serio *serio,
9191
unsigned char data, unsigned int flags)
9292
{
93-
struct mtouch* mtouch = serio_get_drvdata(serio);
93+
struct mtouch *mtouch = serio_get_drvdata(serio);
9494

9595
mtouch->data[mtouch->idx] = data;
9696

@@ -110,7 +110,7 @@ static irqreturn_t mtouch_interrupt(struct serio *serio,
110110

111111
static void mtouch_disconnect(struct serio *serio)
112112
{
113-
struct mtouch* mtouch = serio_get_drvdata(serio);
113+
struct mtouch *mtouch = serio_get_drvdata(serio);
114114

115115
input_get_device(mtouch->dev);
116116
input_unregister_device(mtouch->dev);

0 commit comments

Comments
 (0)