Searched refs:notifyee (Results 1 – 1 of 1) sorted by relevance
538 struct smscore_device_notifyee_t *notifyee; in smscore_register_hotplug() local544 notifyee = kmalloc(sizeof(struct smscore_device_notifyee_t), in smscore_register_hotplug()546 if (notifyee) { in smscore_register_hotplug()558 notifyee->hotplug = hotplug; in smscore_register_hotplug()559 list_add(¬ifyee->entry, &g_smscore_notifyees); in smscore_register_hotplug()561 kfree(notifyee); in smscore_register_hotplug()586 struct smscore_device_notifyee_t *notifyee = in smscore_unregister_hotplug() local590 if (notifyee->hotplug == hotplug) { in smscore_unregister_hotplug()591 list_del(¬ifyee->entry); in smscore_unregister_hotplug()592 kfree(notifyee); in smscore_unregister_hotplug()[all …]