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>
This commit is contained in:
parent
71f9f08103
commit
2274c98720
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue