From 740c1600d67f4c9e15defd6ba83091c972ca12ad Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Fri, 25 Sep 2026 12:01:12 -0700 Subject: [PATCH] Input: mt - update input_mt_report_slot_state() kerneldoc Commit c258e84b180d ("Input: do not assign new tracking ID when changing tool type") stopped assigning a new tracking ID when the tool type in a slot changes, but left the kerneldoc comment for input_mt_report_slot_state() stating the old behavior. Update the comment to match the implementation. Signed-off-by: Dmitry Torokhov --- drivers/input/input-mt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/input/input-mt.c b/drivers/input/input-mt.c index c06e98fbd77c..4fe386fa86af 100644 --- a/drivers/input/input-mt.c +++ b/drivers/input/input-mt.c @@ -126,9 +126,8 @@ EXPORT_SYMBOL(input_mt_destroy_slots); * * Reports a contact via ABS_MT_TRACKING_ID, and optionally * ABS_MT_TOOL_TYPE. If active is true and the slot is currently - * inactive, or if the tool type is changed, a new tracking id is - * assigned to the slot. The tool type is only reported if the - * corresponding absbit field is set. + * inactive, a new tracking id is assigned to the slot. The tool + * type is only reported if the corresponding absbit field is set. * * Returns true if contact is active. */