Skip to content

Commit 55bef83

Browse files
Shen Lichuandtor
authored andcommitted
Input: Convert comma to semicolon
To ensure code clarity and prevent potential errors, it's advisable to employ the ';' as a statement separator, except when ',' are intentionally used for specific purposes. Signed-off-by: Shen Lichuan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent c7c878f commit 55bef83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/input.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2224,7 +2224,7 @@ static unsigned int input_estimate_events_per_packet(struct input_dev *dev)
22242224
mt_slots = dev->mt->num_slots;
22252225
} else if (test_bit(ABS_MT_TRACKING_ID, dev->absbit)) {
22262226
mt_slots = dev->absinfo[ABS_MT_TRACKING_ID].maximum -
2227-
dev->absinfo[ABS_MT_TRACKING_ID].minimum + 1,
2227+
dev->absinfo[ABS_MT_TRACKING_ID].minimum + 1;
22282228
mt_slots = clamp(mt_slots, 2, 32);
22292229
} else if (test_bit(ABS_MT_POSITION_X, dev->absbit)) {
22302230
mt_slots = 2;

0 commit comments

Comments
 (0)