Searched refs:notifyee (Results 1 – 1 of 1) sorted by relevance
534 struct smscore_device_notifyee_t *notifyee; in smscore_register_hotplug() local539 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(¬ifyee->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() local584 if (notifyee->hotplug == hotplug) { in smscore_unregister_hotplug()585 list_del(¬ifyee->entry); in smscore_unregister_hotplug()586 kfree(notifyee); in smscore_unregister_hotplug()[all …]