Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Lad Prabhakar and committed by
Greg Kroah-Hartman
b9cff71c a02dcd3b

+1 -1
+1 -1
drivers/usb/renesas_usbhs/common.c
··· 698 698 if (ret < 0) 699 699 goto probe_end_fifo_exit; 700 700 701 - /* dev_set_drvdata should be called after usbhs_mod_init */ 701 + /* platform_set_drvdata() should be called after usbhs_mod_probe() */ 702 702 platform_set_drvdata(pdev, priv); 703 703 704 704 ret = reset_control_deassert(priv->rsts);