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