summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBivash Kumar Singh <bivashraj750@gmail.com>2026-07-25 18:38:03 +0530
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2026-07-25 18:16:12 -0700
commit337e5910dcbc38a656e446a6c8a7b37bd496f476 (patch)
tree0939c6ce33924b444125aa10cc76e7a897a95ba4
parentaa7ab8c6f5bffcc502d444ba3f3c510fc6f00d4f (diff)
downloadlinux-next-337e5910dcbc38a656e446a6c8a7b37bd496f476.tar.gz
linux-next-337e5910dcbc38a656e446a6c8a7b37bd496f476.zip
Input: inexio - replace printk with dev_dbg and fix missing space
Replace printk(KERN_DEBUG) with dev_dbg() using the serio device, which is the correct logging style for driver code. Also fix missing space after comma in the function argument, and remove the redundant 'inexio.c:' filename prefix from the message. Signed-off-by: Bivash Kumar Singh <bivashraj750@gmail.com> Link: https://patch.msgid.link/20260725130803.6763-1-bivashraj750@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--drivers/input/touchscreen/inexio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/inexio.c b/drivers/input/touchscreen/inexio.c
index ac3836ff2a30..2fa04eaec292 100644
--- a/drivers/input/touchscreen/inexio.c
+++ b/drivers/input/touchscreen/inexio.c
@@ -81,7 +81,9 @@ static irqreturn_t inexio_interrupt(struct serio *serio,
if (INEXIO_RESPONSE_BEGIN_BYTE&pinexio->data[0])
inexio_process_data(pinexio);
else
- printk(KERN_DEBUG "inexio.c: unknown/unsynchronized data from device, byte %x\n",pinexio->data[0]);
+ dev_dbg(&serio->dev,
+ "unknown/unsynchronized data from device, byte %x\n",
+ pinexio->data[0]);
return IRQ_HANDLED;
}