Skip to content

Commit

Permalink
Input: ar1021_i2c - coding style fixes
Browse files Browse the repository at this point in the history
Use the common kernel coding style and corrently align parameters with
open parenthesis.

Signed-off-by: Martin Kepplinger <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
  • Loading branch information
merge authored and dtor committed Apr 12, 2017
1 parent 71f9f08 commit 2274c98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/input/touchscreen/ar1021_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2274c98

Please sign in to comment.