Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/input/touchscreen/cyttsp5/
H A Dcyttsp5_core.c4097 struct atten_node *atten, *atten_new; in _cyttsp5_subscribe_attention() local
4099 atten_new = kzalloc(sizeof(*atten_new), GFP_KERNEL); in _cyttsp5_subscribe_attention()
4100 if (!atten_new) in _cyttsp5_subscribe_attention()
4110 kfree(atten_new); in _cyttsp5_subscribe_attention()
4120 atten_new->id = id; in _cyttsp5_subscribe_attention()
4121 atten_new->dev = dev; in _cyttsp5_subscribe_attention()
4122 atten_new->mode = mode; in _cyttsp5_subscribe_attention()
4123 atten_new->func = func; in _cyttsp5_subscribe_attention()
4125 list_add(&atten_new->node, &cd->atten_list[type]); in _cyttsp5_subscribe_attention()