new_ct            209 drivers/macintosh/windfarm_core.c int wf_register_control(struct wf_control *new_ct)
new_ct            215 drivers/macintosh/windfarm_core.c 		if (!strcmp(ct->name, new_ct->name)) {
new_ct            222 drivers/macintosh/windfarm_core.c 	kref_init(&new_ct->ref);
new_ct            223 drivers/macintosh/windfarm_core.c 	list_add(&new_ct->link, &wf_controls);
new_ct            225 drivers/macintosh/windfarm_core.c 	sysfs_attr_init(&new_ct->attr.attr);
new_ct            226 drivers/macintosh/windfarm_core.c 	new_ct->attr.attr.name = new_ct->name;
new_ct            227 drivers/macintosh/windfarm_core.c 	new_ct->attr.attr.mode = 0644;
new_ct            228 drivers/macintosh/windfarm_core.c 	new_ct->attr.show = wf_show_control;
new_ct            229 drivers/macintosh/windfarm_core.c 	new_ct->attr.store = wf_store_control;
new_ct            230 drivers/macintosh/windfarm_core.c 	if (device_create_file(&wf_platform_device.dev, &new_ct->attr))
new_ct            232 drivers/macintosh/windfarm_core.c 			" for %s\n", new_ct->name);
new_ct            235 drivers/macintosh/windfarm_core.c 	DBG("wf: Registered control %s\n", new_ct->name);
new_ct            237 drivers/macintosh/windfarm_core.c 	wf_notify(WF_EVENT_NEW_CONTROL, new_ct);