Input: ar1021_i2c - coding style fixes
authorMartin Kepplinger <martin.kepplinger@ginzinger.com>
Wed, 12 Apr 2017 15:41:19 +0000 (08:41 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 12 Apr 2017 15:47:18 +0000 (08:47 -0700)
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>
drivers/input/touchscreen/ar1021_i2c.c

index 6562b17117f7fdd8e3bfc30cb8b926849fba9b13..2e7500edd4779ee6d3078847f143626ca35c60a9 100644 (file)
@@ -33,7 +33,7 @@ static irqreturn_t ar1021_i2c_irq(int irq, void *dev_id)
        int retval;
 
        retval = i2c_master_recv(ar1021->client,
-                               ar1021->data, sizeof(ar1021->data));
+                                ar1021->data, sizeof(ar1021->data));
        if (retval != sizeof(ar1021->data))
                goto out;
 
@@ -73,7 +73,7 @@ static void ar1021_i2c_close(struct input_dev *dev)
 }
 
 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 input_dev *input;