Lines Matching defs:hsf_handle
2692 static struct device_attribute *fan_handle, *hsf_handle;
2743 hsf_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL);
2744 if (!hsf_handle) {
2755 sysfs_attr_init(&hsf_handle->attr);
2756 hsf_handle->attr.name = "fan_forced";
2757 hsf_handle->attr.mode = S_IRUGO | S_IWUSR;
2758 hsf_handle->show = sony_nc_hsfan_show;
2759 hsf_handle->store = sony_nc_hsfan_store;
2765 result = device_create_file(&pd->dev, hsf_handle);
2775 kfree(hsf_handle);
2776 hsf_handle = NULL;
2791 if (hsf_handle) {
2792 device_remove_file(&pd->dev, hsf_handle);
2793 kfree(hsf_handle);
2794 hsf_handle = NULL;