Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/common/siano/
Dsmscoreapi.c526 struct smscore_device_notifyee_t *notifyee; in smscore_register_hotplug() local
531 notifyee = kmalloc(sizeof(*notifyee), GFP_KERNEL); in smscore_register_hotplug()
532 if (notifyee) { in smscore_register_hotplug()
544 notifyee->hotplug = hotplug; in smscore_register_hotplug()
545 list_add(&notifyee->entry, &g_smscore_notifyees); in smscore_register_hotplug()
547 kfree(notifyee); in smscore_register_hotplug()
572 struct smscore_device_notifyee_t *notifyee = in smscore_unregister_hotplug() local
576 if (notifyee->hotplug == hotplug) { in smscore_unregister_hotplug()
577 list_del(&notifyee->entry); in smscore_unregister_hotplug()
578 kfree(notifyee); in smscore_unregister_hotplug()
[all …]