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>
This commit is contained in:
Bivash Kumar Singh
2026-07-25 18:16:12 -07:00
committed by Dmitry Torokhov
parent aa7ab8c6f5
commit 337e5910dc
+3 -1
View File
@@ -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;
}