mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 19:59:34 -04:00
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 <prabhakar.mahadev-lad.rj@bp.renesas.com> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Link: https://lore.kernel.org/r/20250407105002.107181-2-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a02dcd3b61
commit
b9cff71c50
@@ -698,7 +698,7 @@ static int usbhs_probe(struct platform_device *pdev)
|
||||
if (ret < 0)
|
||||
goto probe_end_fifo_exit;
|
||||
|
||||
/* dev_set_drvdata should be called after usbhs_mod_init */
|
||||
/* platform_set_drvdata() should be called after usbhs_mod_probe() */
|
||||
platform_set_drvdata(pdev, priv);
|
||||
|
||||
ret = reset_control_deassert(priv->rsts);
|
||||
|
||||
Reference in New Issue
Block a user