mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
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:
parent
aa7ab8c6f5
commit
337e5910dc
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user