Home
last modified time | relevance | path

Searched refs:hub_role_sw (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/drivers/misc/
Dhisi_hikey_usb.c42 struct usb_role_switch *hub_role_sw; member
224 hisi_hikey_usb->hub_role_sw = usb_role_switch_register(dev, in hisi_hikey_usb_probe()
227 if (IS_ERR(hisi_hikey_usb->hub_role_sw)) { in hisi_hikey_usb_probe()
229 return PTR_ERR(hisi_hikey_usb->hub_role_sw); in hisi_hikey_usb_probe()
241 if (hisi_hikey_usb->hub_role_sw) in hisi_hikey_usb_remove()
242 usb_role_switch_unregister(hisi_hikey_usb->hub_role_sw); in hisi_hikey_usb_remove()