Skip to content

Commit

Permalink
Input: atmel_mxt_ts.c - clean divergence with upstream
Browse files Browse the repository at this point in the history
Clean a minor formatting divergence with upstream so later upstream
patch can be applied cleanly.

BUG=None
TEST=Applying the patch and atmel_mxt_ts.c compiles.

Change-Id: Ic3de767e85b94a0c5c11e60add6ead45779152c1
Signed-off-by: Yufeng Shen <miletus@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/6084
Reviewed-by: Jon Kliegman <kliegs@chromium.org>
  • Loading branch information
yufengshen committed Aug 18, 2011
1 parent 2a9b8c8 commit 942201c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/input/touchscreen/atmel_mxt_ts.c
Expand Up @@ -536,8 +536,9 @@ static void mxt_input_report(struct mxt_data *data, int single_id)
finger[id].x); finger[id].x);
input_report_abs(input_dev, ABS_MT_POSITION_Y, input_report_abs(input_dev, ABS_MT_POSITION_Y,
finger[id].y); finger[id].y);
} else } else {
finger[id].status = 0; finger[id].status = 0;
}
} }


input_report_key(input_dev, BTN_TOUCH, finger_num > 0); input_report_key(input_dev, BTN_TOUCH, finger_num > 0);
Expand Down

0 comments on commit 942201c

Please sign in to comment.