Commit 0dfb35bd authored by Irina Tirdea's avatar Irina Tirdea Committed by Dmitry Torokhov

Input: goodix - fix alignment issues

Fix alignment to match open parenthesis detected by running checkpatch.pl
--strict.
Signed-off-by: default avatarIrina Tirdea <irina.tirdea@intel.com>
Acked-by: default avatarBastien Nocera <hadess@hadess.net>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 5179f0ce
...@@ -78,7 +78,7 @@ static int goodix_i2c_read(struct i2c_client *client, ...@@ -78,7 +78,7 @@ static int goodix_i2c_read(struct i2c_client *client,
msgs[0].flags = 0; msgs[0].flags = 0;
msgs[0].addr = client->addr; msgs[0].addr = client->addr;
msgs[0].len = 2; msgs[0].len = 2;
msgs[0].buf = (u8 *) &wbuf; msgs[0].buf = (u8 *)&wbuf;
msgs[1].flags = I2C_M_RD; msgs[1].flags = I2C_M_RD;
msgs[1].addr = client->addr; msgs[1].addr = client->addr;
...@@ -296,10 +296,10 @@ static int goodix_request_input_dev(struct goodix_ts_data *ts) ...@@ -296,10 +296,10 @@ static int goodix_request_input_dev(struct goodix_ts_data *ts)
BIT_MASK(EV_KEY) | BIT_MASK(EV_KEY) |
BIT_MASK(EV_ABS); BIT_MASK(EV_ABS);
input_set_abs_params(ts->input_dev, ABS_MT_POSITION_X, 0, input_set_abs_params(ts->input_dev, ABS_MT_POSITION_X,
ts->abs_x_max, 0, 0); 0, ts->abs_x_max, 0, 0);
input_set_abs_params(ts->input_dev, ABS_MT_POSITION_Y, 0, input_set_abs_params(ts->input_dev, ABS_MT_POSITION_Y,
ts->abs_y_max, 0, 0); 0, ts->abs_y_max, 0, 0);
input_set_abs_params(ts->input_dev, ABS_MT_WIDTH_MAJOR, 0, 255, 0, 0); input_set_abs_params(ts->input_dev, ABS_MT_WIDTH_MAJOR, 0, 255, 0, 0);
input_set_abs_params(ts->input_dev, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); input_set_abs_params(ts->input_dev, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment