usb: gadget: renesas_usbhs: unified callback function
renesas_usbhs needs callback for notify hotplug. but it were 2 methods which are almost same. This patch unified these into one. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
committed by
Felipe Balbi
parent
f1ee56a000
commit
b4fcea2a71
@@ -50,7 +50,9 @@ static int usbhsm_autonomy_irq_vbus(struct usbhs_priv *priv,
|
||||
{
|
||||
struct platform_device *pdev = usbhs_priv_to_pdev(priv);
|
||||
|
||||
return usbhsc_drvcllbck_notify_hotplug(pdev);
|
||||
renesas_usbhs_call_notify_hotplug(pdev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void usbhs_mod_autonomy_mode(struct usbhs_priv *priv)
|
||||
|
Reference in New Issue
Block a user