Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: tsc2007 - change warning to debug message if pen GPIO is not defined

Since pen GPIO request is optional, there is no reason to throw dev_warn if
such GPIO is not defined.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Link: https://lore.kernel.org/r/20250824091927.105121-2-clamor95@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Svyatoslav Ryhel and committed by
Dmitry Torokhov
b0e109a2 c1b52451

+1 -1
+1 -1
drivers/input/touchscreen/tsc2007_core.c
··· 253 253 if (ts->gpiod) 254 254 ts->get_pendown_state = tsc2007_get_pendown_state_gpio; 255 255 else 256 - dev_warn(dev, "Pen down GPIO is not specified in properties\n"); 256 + dev_dbg(dev, "Pen down GPIO is not specified in properties\n"); 257 257 258 258 return 0; 259 259 }