Commit d19ec82c authored by Dario Binacchi's avatar Dario Binacchi Committed by Dmitry Torokhov

Input: edt-ft5x06 - fix indentation

Matches the alignment to the open parenthesis as suggested by
checkpatch.
Signed-off-by: default avatarDario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://lore.kernel.org/r/20230402200951.1032513-2-dario.binacchi@amarulasolutions.comSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 1661f60a
...@@ -757,7 +757,8 @@ DEFINE_SIMPLE_ATTRIBUTE(debugfs_mode_fops, edt_ft5x06_debugfs_mode_get, ...@@ -757,7 +757,8 @@ DEFINE_SIMPLE_ATTRIBUTE(debugfs_mode_fops, edt_ft5x06_debugfs_mode_get,
edt_ft5x06_debugfs_mode_set, "%llu\n"); edt_ft5x06_debugfs_mode_set, "%llu\n");
static ssize_t edt_ft5x06_debugfs_raw_data_read(struct file *file, static ssize_t edt_ft5x06_debugfs_raw_data_read(struct file *file,
char __user *buf, size_t count, loff_t *off) char __user *buf, size_t count,
loff_t *off)
{ {
struct edt_ft5x06_ts_data *tsdata = file->private_data; struct edt_ft5x06_ts_data *tsdata = file->private_data;
struct i2c_client *client = tsdata->client; struct i2c_client *client = tsdata->client;
...@@ -1051,13 +1052,16 @@ static void edt_ft5x06_ts_get_parameters(struct edt_ft5x06_ts_data *tsdata) ...@@ -1051,13 +1052,16 @@ static void edt_ft5x06_ts_get_parameters(struct edt_ft5x06_ts_data *tsdata)
tsdata->offset = tsdata->offset =
edt_ft5x06_register_read(tsdata, reg_addr->reg_offset); edt_ft5x06_register_read(tsdata, reg_addr->reg_offset);
if (reg_addr->reg_offset_x != NO_REGISTER) if (reg_addr->reg_offset_x != NO_REGISTER)
tsdata->offset_x = edt_ft5x06_register_read(tsdata, tsdata->offset_x =
edt_ft5x06_register_read(tsdata,
reg_addr->reg_offset_x); reg_addr->reg_offset_x);
if (reg_addr->reg_offset_y != NO_REGISTER) if (reg_addr->reg_offset_y != NO_REGISTER)
tsdata->offset_y = edt_ft5x06_register_read(tsdata, tsdata->offset_y =
edt_ft5x06_register_read(tsdata,
reg_addr->reg_offset_y); reg_addr->reg_offset_y);
if (reg_addr->reg_report_rate != NO_REGISTER) if (reg_addr->reg_report_rate != NO_REGISTER)
tsdata->report_rate = edt_ft5x06_register_read(tsdata, tsdata->report_rate =
edt_ft5x06_register_read(tsdata,
reg_addr->reg_report_rate); reg_addr->reg_report_rate);
tsdata->num_x = EDT_DEFAULT_NUM_X; tsdata->num_x = EDT_DEFAULT_NUM_X;
if (reg_addr->reg_num_x != NO_REGISTER) if (reg_addr->reg_num_x != NO_REGISTER)
......
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