Lines Matching refs:irq_client
136 struct pmf_irq_client *irq_client; in pmf_set_notify() local
173 irq_client = notif->gpio_private; in pmf_set_notify()
174 pmf_unregister_irq_client(irq_client); in pmf_set_notify()
175 kfree(irq_client); in pmf_set_notify()
179 irq_client = kzalloc(sizeof(struct pmf_irq_client), in pmf_set_notify()
181 if (!irq_client) { in pmf_set_notify()
185 irq_client->data = notif; in pmf_set_notify()
186 irq_client->handler = pmf_handle_notify_irq; in pmf_set_notify()
187 irq_client->owner = THIS_MODULE; in pmf_set_notify()
190 irq_client); in pmf_set_notify()
194 kfree(irq_client); in pmf_set_notify()
197 notif->gpio_private = irq_client; in pmf_set_notify()