hsf_handle 2687 drivers/platform/x86/sony-laptop.c static struct device_attribute *fan_handle, *hsf_handle; hsf_handle 2738 drivers/platform/x86/sony-laptop.c hsf_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); hsf_handle 2739 drivers/platform/x86/sony-laptop.c if (!hsf_handle) { hsf_handle 2750 drivers/platform/x86/sony-laptop.c sysfs_attr_init(&hsf_handle->attr); hsf_handle 2751 drivers/platform/x86/sony-laptop.c hsf_handle->attr.name = "fan_forced"; hsf_handle 2752 drivers/platform/x86/sony-laptop.c hsf_handle->attr.mode = S_IRUGO | S_IWUSR; hsf_handle 2753 drivers/platform/x86/sony-laptop.c hsf_handle->show = sony_nc_hsfan_show; hsf_handle 2754 drivers/platform/x86/sony-laptop.c hsf_handle->store = sony_nc_hsfan_store; hsf_handle 2760 drivers/platform/x86/sony-laptop.c result = device_create_file(&pd->dev, hsf_handle); hsf_handle 2770 drivers/platform/x86/sony-laptop.c kfree(hsf_handle); hsf_handle 2771 drivers/platform/x86/sony-laptop.c hsf_handle = NULL; hsf_handle 2786 drivers/platform/x86/sony-laptop.c if (hsf_handle) { hsf_handle 2787 drivers/platform/x86/sony-laptop.c device_remove_file(&pd->dev, hsf_handle); hsf_handle 2788 drivers/platform/x86/sony-laptop.c kfree(hsf_handle); hsf_handle 2789 drivers/platform/x86/sony-laptop.c hsf_handle = NULL;