Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/common/siano/
Dsmscoreapi.c534 struct smscore_device_notifyee_t *notifyee; in smscore_register_hotplug() local
539 notifyee = kmalloc(sizeof(*notifyee), GFP_KERNEL); in smscore_register_hotplug()
540 if (notifyee) { in smscore_register_hotplug()
552 notifyee->hotplug = hotplug; in smscore_register_hotplug()
553 list_add(&notifyee->entry, &g_smscore_notifyees); in smscore_register_hotplug()
555 kfree(notifyee); in smscore_register_hotplug()
580 struct smscore_device_notifyee_t *notifyee = in smscore_unregister_hotplug() local
584 if (notifyee->hotplug == hotplug) { in smscore_unregister_hotplug()
585 list_del(&notifyee->entry); in smscore_unregister_hotplug()
586 kfree(notifyee); in smscore_unregister_hotplug()
[all …]