Searched refs:new_ct (Results 1 – 1 of 1) sorted by relevance
207 int wf_register_control(struct wf_control *new_ct) in wf_register_control() argument213 if (!strcmp(ct->name, new_ct->name)) { in wf_register_control()220 kref_init(&new_ct->ref); in wf_register_control()221 list_add(&new_ct->link, &wf_controls); in wf_register_control()223 sysfs_attr_init(&new_ct->attr.attr); in wf_register_control()224 new_ct->attr.attr.name = new_ct->name; in wf_register_control()225 new_ct->attr.attr.mode = 0644; in wf_register_control()226 new_ct->attr.show = wf_show_control; in wf_register_control()227 new_ct->attr.store = wf_store_control; in wf_register_control()230 " for %s\n", new_ct->name); in wf_register_control()[all …]
Completed in 3 milliseconds