From: Mihai Sain <mihai.sain@microchip.com>
To: <stern@rowland.harvard.edu>, <gregkh@linuxfoundation.org>,
<nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>,
<claudiu.beznea@tuxon.dev>
Cc: <linux-usb@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
Mihai Sain <mihai.sain@microchip.com>
Subject: [PATCH] usb: host: ehci-atmel: Use dev_dbg() for debug messages
Date: Wed, 14 Oct 2026 15:16:56 +0300 [thread overview]
Message-ID: <20261014121656.1634-1-mihai.sain@microchip.com> (raw)
Use dev_dbg() instead of pr_debug() in the probe function
to provide a more specific device message.
This ensures the log message is properly associated with
the corresponding platform device instance.
Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
---
drivers/usb/host/ehci-atmel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/ehci-atmel.c b/drivers/usb/host/ehci-atmel.c
index 65747270fd88..b6ba7005be69 100644
--- a/drivers/usb/host/ehci-atmel.c
+++ b/drivers/usb/host/ehci-atmel.c
@@ -99,7 +99,7 @@ static int ehci_atmel_drv_probe(struct platform_device *pdev)
if (usb_disabled())
return -ENODEV;
- pr_debug("Initializing Atmel-SoC USB Host Controller\n");
+ dev_dbg(&pdev->dev, "Initializing Atmel-SoC USB Host Controller\n");
irq = platform_get_irq(pdev, 0);
if (irq < 0) {
--
2.56.0
next reply other threads:[~2026-10-14 12:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-14 12:16 Mihai Sain [this message]
2026-10-14 12:19 ` [PATCH] usb: host: ehci-atmel: Use dev_dbg() for debug messages sashiko-bot
2026-10-14 14:38 ` Alexander Dahl
2026-10-14 14:45 ` Alan Stern
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261014121656.1634-1-mihai.sain@microchip.com \
--to=mihai.sain@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=nicolas.ferre@microchip.com \
--cc=stern@rowland.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox