Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH] Input: inexio: replace printk with dev_dbg and fix missing space
@ 2026-07-25 13:08 Bivash Kumar Singh
  2026-07-26  1:16 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Bivash Kumar Singh @ 2026-07-25 13:08 UTC (permalink / raw)
  To: linux-input; +Cc: dmitry.torokhov, Bivash Kumar Singh

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>
---
 drivers/input/touchscreen/inexio.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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;
 }
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Input: inexio: replace printk with dev_dbg and fix missing space
  2026-07-25 13:08 [PATCH] Input: inexio: replace printk with dev_dbg and fix missing space Bivash Kumar Singh
@ 2026-07-26  1:16 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2026-07-26  1:16 UTC (permalink / raw)
  To: Bivash Kumar Singh; +Cc: linux-input

On Sat, Jul 25, 2026 at 06:38:03PM +0530, Bivash Kumar Singh wrote:
> 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>

Applied, thank you.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-26  1:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-25 13:08 [PATCH] Input: inexio: replace printk with dev_dbg and fix missing space Bivash Kumar Singh
2026-07-26  1:16 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox