diff options
author | Martin Kepplinger <martin.kepplinger@ginzinger.com> | 2017-04-12 11:41:19 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-04-12 11:47:18 -0400 |
commit | 2274c98720fece37fb4947e94ec03b15e62164a9 (patch) | |
tree | 33b8263b0c0f33f8bedf11dcc526c63aaac9faaf /drivers/input/touchscreen | |
parent | 71f9f08103cb02f3d5bfad91cb570dcd2d8ed0cb (diff) |
Input: ar1021_i2c - coding style fixes
Use the common kernel coding style and corrently align parameters with
open parenthesis.
Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r-- | drivers/input/touchscreen/ar1021_i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/ar1021_i2c.c b/drivers/input/touchscreen/ar1021_i2c.c index 6562b17117f7..2e7500edd477 100644 --- a/drivers/input/touchscreen/ar1021_i2c.c +++ b/drivers/input/touchscreen/ar1021_i2c.c | |||
@@ -33,7 +33,7 @@ static irqreturn_t ar1021_i2c_irq(int irq, void *dev_id) | |||
33 | int retval; | 33 | int retval; |
34 | 34 | ||
35 | retval = i2c_master_recv(ar1021->client, | 35 | retval = i2c_master_recv(ar1021->client, |
36 | ar1021->data, sizeof(ar1021->data)); | 36 | ar1021->data, sizeof(ar1021->data)); |
37 | if (retval != sizeof(ar1021->data)) | 37 | if (retval != sizeof(ar1021->data)) |
38 | goto out; | 38 | goto out; |
39 | 39 | ||
@@ -73,7 +73,7 @@ static void ar1021_i2c_close(struct input_dev *dev) | |||
73 | } | 73 | } |
74 | 74 | ||
75 | static int ar1021_i2c_probe(struct i2c_client *client, | 75 | static int ar1021_i2c_probe(struct i2c_client *client, |
76 | const struct i2c_device_id *id) | 76 | const struct i2c_device_id *id) |
77 | { | 77 | { |
78 | struct ar1021_i2c *ar1021; | 78 | struct ar1021_i2c *ar1021; |
79 | struct input_dev *input; | 79 | struct input_dev *input; |