提交 2274c987 编写于 作者: M Martin Kepplinger 提交者: Dmitry Torokhov

Input: ar1021_i2c - coding style fixes

Use the common kernel coding style and corrently align parameters with
open parenthesis.
Signed-off-by: NMartin Kepplinger <martin.kepplinger@ginzinger.com>
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册