usb: host: ehci-atmel: Use dev_dbg() for debug messages
Subsystems (3)
PATCH 1/1 usb: host: ehci-atmel: Use dev_dbg() for debug messages
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.
--- drivers/usb/host/ehci-atmel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/ehci-atmel.c +1 -1
@@ -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 ) {
Signature · 1 line
2.56.0
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 6 lines
Use
dev_dbg()instead ofpr_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 <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Hello Mihai,
Am Wed, Oct 14, 2026 at 03:16:56PM +0300 schrieb Mihai Sain:
Quoted 15 lines
Use
dev_dbg()instead ofpr_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 <[email protected]>--- drivers/usb/host/ehci-atmel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/usb/host/ehci-atmel.c +0
-0
drivers/usb/host/ehci-atmel.c static int ehci_atmel_drv_probe(struct platform_device *pdev) · line 105
Quoted 8 lines
drivers/usb/host/ehci-atmel.c +1
-1@@ -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 ) {
Greets
Alex
Quoted 7 lines · Mihai Sain
Use
dev_dbg()instead ofpr_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 <[email protected]>---
Quoted 19 lines
drivers/usb/host/ehci-atmel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/usb/host/ehci-atmel.c +1
-1@@ -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 ) {Signature · 1 line
2.56.0