Skip to contentSkip to conversation

renesas_usbhs: fix platform init error message

PATCH Superseded Sergei Shtylyov 1 participant 2 messages Oct 8, 2014 SuperH

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 renesas_usbhs: fix platform init error message

There is a typo ("prove" instead of "probe") in the error message printed when the platform initialization fails. Replace that word with more fitting "init".

---
 drivers/usb/renesas_usbhs/common.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: usb/drivers/usb/renesas_usbhs/common.c =================================--- usb.orig/drivers/usb/renesas_usbhs/common.c +++ usb/drivers/usb/renesas_usbhs/common.c
@@ -572,7 +572,7 @@ static int usbhs_probe(struct platform_d
*/
ret = usbhs_platform_call(priv, hardware_init, pdev);
if (ret < 0) {
- dev_err(&pdev->dev, "platform prove failed.\n");
+ dev_err(&pdev->dev, "platform init failed.\n");
goto probe_end_mod_exit;
}

#1 lore raw
Quoted 4 lines · Sergei Shtylyov

There is a typo ("prove" instead of "probe") in the error message printed when the platform initialization fails. Replace that word with more fitting "init".

Oops, forgot to mention the patch is atop of the 'usb-linus' branch of
GregKH's repo.

WBR, Sergei