Skip to content

Commit 35f2261

Browse files
prabhakarladintel-lab-lkp
authored andcommitted
usb: renesas_usbhs: Correct function references in comment
Update the comment to reference `usbhs_mod_probe()` instead of `usbhs_mod_init()`, and replace `dev_set_drvdata()` with `platform_set_drvdata()`, as these are the correct functions used in this context. Signed-off-by: Lad Prabhakar <[email protected]>
1 parent 0af2f6b commit 35f2261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/renesas_usbhs/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ static int usbhs_probe(struct platform_device *pdev)
698698
if (ret < 0)
699699
goto probe_end_fifo_exit;
700700

701-
/* dev_set_drvdata should be called after usbhs_mod_init */
701+
/* platform_set_drvdata() should be called after usbhs_mod_probe() */
702702
platform_set_drvdata(pdev, priv);
703703

704704
ret = reset_control_deassert(priv->rsts);

0 commit comments

Comments
 (0)