aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorMartin Kepplinger <martin.kepplinger@ginzinger.com>2017-04-12 08:41:19 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-04-12 08:47:18 -0700
commit2274c98720fece37fb4947e94ec03b15e62164a9 (patch)
tree33b8263b0c0f33f8bedf11dcc526c63aaac9faaf /drivers/input/touchscreen
parentInput: lpc32xx_ts - check for clk_prepare_enable() error (diff)
downloadlinux-dev-2274c98720fece37fb4947e94ec03b15e62164a9.tar.xz
linux-dev-2274c98720fece37fb4947e94ec03b15e62164a9.zip
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>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r--drivers/input/touchscreen/ar1021_i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/ar1021_i2c.c b/drivers/input/touchscreen/ar1021_i2c.c
index 6562b17117f7..2e7500edd477 100644
--- a/drivers/input/touchscreen/ar1021_i2c.c
+++ b/drivers/input/touchscreen/ar1021_i2c.c
@@ -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;