Commit 249d1bb2 authored by Hardik Singh Rathore's avatar Hardik Singh Rathore Committed by Dmitry Torokhov

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: default avatarHardik Singh Rathore <hardiksingh.k@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 0b9f28fe
...@@ -289,7 +289,7 @@ static int ad7879_open(struct input_dev *input) ...@@ -289,7 +289,7 @@ static int ad7879_open(struct input_dev *input)
return 0; return 0;
} }
static void ad7879_close(struct input_dev* input) static void ad7879_close(struct input_dev *input)
{ {
struct ad7879 *ts = input_get_drvdata(input); struct ad7879 *ts = input_get_drvdata(input);
......
...@@ -51,7 +51,7 @@ struct ektf2127_ts { ...@@ -51,7 +51,7 @@ struct ektf2127_ts {
struct touchscreen_properties prop; struct touchscreen_properties prop;
}; };
static void ektf2127_parse_coordinates(const u8* buf, unsigned int touch_count, static void ektf2127_parse_coordinates(const u8 *buf, unsigned int touch_count,
struct input_mt_pos *touches) struct input_mt_pos *touches)
{ {
int index = 0; int index = 0;
......
...@@ -53,7 +53,7 @@ struct gunze { ...@@ -53,7 +53,7 @@ struct gunze {
char phys[32]; 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; struct input_dev *dev = gunze->dev;
...@@ -72,7 +72,7 @@ static void gunze_process_packet(struct gunze* gunze) ...@@ -72,7 +72,7 @@ static void gunze_process_packet(struct gunze* gunze)
static irqreturn_t gunze_interrupt(struct serio *serio, static irqreturn_t gunze_interrupt(struct serio *serio,
unsigned char data, unsigned int flags) unsigned char data, unsigned int flags)
{ {
struct gunze* gunze = serio_get_drvdata(serio); struct gunze *gunze = serio_get_drvdata(serio);
if (data == '\r') { if (data == '\r') {
gunze_process_packet(gunze); gunze_process_packet(gunze);
......
...@@ -79,7 +79,7 @@ static void inexio_process_data(struct inexio *pinexio) ...@@ -79,7 +79,7 @@ static void inexio_process_data(struct inexio *pinexio)
static irqreturn_t inexio_interrupt(struct serio *serio, static irqreturn_t inexio_interrupt(struct serio *serio,
unsigned char data, unsigned int flags) unsigned char data, unsigned int flags)
{ {
struct inexio* pinexio = serio_get_drvdata(serio); struct inexio *pinexio = serio_get_drvdata(serio);
pinexio->data[pinexio->idx] = data; pinexio->data[pinexio->idx] = data;
...@@ -97,7 +97,7 @@ static irqreturn_t inexio_interrupt(struct serio *serio, ...@@ -97,7 +97,7 @@ static irqreturn_t inexio_interrupt(struct serio *serio,
static void inexio_disconnect(struct serio *serio) static void inexio_disconnect(struct serio *serio)
{ {
struct inexio* pinexio = serio_get_drvdata(serio); struct inexio *pinexio = serio_get_drvdata(serio);
input_get_device(pinexio->dev); input_get_device(pinexio->dev);
input_unregister_device(pinexio->dev); input_unregister_device(pinexio->dev);
......
...@@ -90,7 +90,7 @@ static void mtouch_process_response(struct mtouch *mtouch) ...@@ -90,7 +90,7 @@ static void mtouch_process_response(struct mtouch *mtouch)
static irqreturn_t mtouch_interrupt(struct serio *serio, static irqreturn_t mtouch_interrupt(struct serio *serio,
unsigned char data, unsigned int flags) unsigned char data, unsigned int flags)
{ {
struct mtouch* mtouch = serio_get_drvdata(serio); struct mtouch *mtouch = serio_get_drvdata(serio);
mtouch->data[mtouch->idx] = data; mtouch->data[mtouch->idx] = data;
...@@ -110,7 +110,7 @@ static irqreturn_t mtouch_interrupt(struct serio *serio, ...@@ -110,7 +110,7 @@ static irqreturn_t mtouch_interrupt(struct serio *serio,
static void mtouch_disconnect(struct serio *serio) static void mtouch_disconnect(struct serio *serio)
{ {
struct mtouch* mtouch = serio_get_drvdata(serio); struct mtouch *mtouch = serio_get_drvdata(serio);
input_get_device(mtouch->dev); input_get_device(mtouch->dev);
input_unregister_device(mtouch->dev); input_unregister_device(mtouch->dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment