Searched refs:usb_notify (Results 1 – 2 of 2) sorted by relevance
58 struct notifier_block usb_notify; member360 container_of(nb, struct sc2731_charger_info, usb_notify); in sc2731_charger_usb_change()502 info->usb_notify.notifier_call = sc2731_charger_usb_change; in sc2731_charger_probe()503 ret = usb_register_notifier(info->usb_phy, &info->usb_notify); in sc2731_charger_probe()518 usb_unregister_notifier(info->usb_phy, &info->usb_notify); in sc2731_charger_remove()
33 struct notifier_block usb_notify; member145 usb_notify); in wm831x_usb_limit_change()655 power->usb_notify.notifier_call = wm831x_usb_limit_change; in wm831x_power_probe()656 ret = usb_register_notifier(power->usb_phy, &power->usb_notify); in wm831x_power_probe()704 &wm831x_power->usb_notify); in wm831x_power_remove()