Commit 2274c987 authored by Martin Kepplinger's avatar Martin Kepplinger Committed by Dmitry Torokhov

Input: ar1021_i2c - coding style fixes

Use the common kernel coding style and corrently align parameters with
open parenthesis.
Signed-off-by: default avatarMartin Kepplinger <martin.kepplinger@ginzinger.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 71f9f081
...@@ -33,7 +33,7 @@ static irqreturn_t ar1021_i2c_irq(int irq, void *dev_id) ...@@ -33,7 +33,7 @@ static irqreturn_t ar1021_i2c_irq(int irq, void *dev_id)
int retval; int retval;
retval = i2c_master_recv(ar1021->client, retval = i2c_master_recv(ar1021->client,
ar1021->data, sizeof(ar1021->data)); ar1021->data, sizeof(ar1021->data));
if (retval != sizeof(ar1021->data)) if (retval != sizeof(ar1021->data))
goto out; goto out;
...@@ -73,7 +73,7 @@ static void ar1021_i2c_close(struct input_dev *dev) ...@@ -73,7 +73,7 @@ static void ar1021_i2c_close(struct input_dev *dev)
} }
static int ar1021_i2c_probe(struct i2c_client *client, static int ar1021_i2c_probe(struct i2c_client *client,
const struct i2c_device_id *id) const struct i2c_device_id *id)
{ {
struct ar1021_i2c *ar1021; struct ar1021_i2c *ar1021;
struct input_dev *input; struct input_dev *input;
......
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