sc_handle 2915 drivers/platform/x86/sony-laptop.c static struct device_attribute *sc_handle; sc_handle 2940 drivers/platform/x86/sony-laptop.c sc_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); sc_handle 2941 drivers/platform/x86/sony-laptop.c if (!sc_handle) sc_handle 2944 drivers/platform/x86/sony-laptop.c sysfs_attr_init(&sc_handle->attr); sc_handle 2945 drivers/platform/x86/sony-laptop.c sc_handle->attr.name = "smart_connect"; sc_handle 2946 drivers/platform/x86/sony-laptop.c sc_handle->attr.mode = S_IWUSR; sc_handle 2947 drivers/platform/x86/sony-laptop.c sc_handle->show = NULL; sc_handle 2948 drivers/platform/x86/sony-laptop.c sc_handle->store = sony_nc_smart_conn_store; sc_handle 2950 drivers/platform/x86/sony-laptop.c result = device_create_file(&pd->dev, sc_handle); sc_handle 2952 drivers/platform/x86/sony-laptop.c kfree(sc_handle); sc_handle 2953 drivers/platform/x86/sony-laptop.c sc_handle = NULL; sc_handle 2962 drivers/platform/x86/sony-laptop.c if (sc_handle) { sc_handle 2963 drivers/platform/x86/sony-laptop.c device_remove_file(&pd->dev, sc_handle); sc_handle 2964 drivers/platform/x86/sony-laptop.c kfree(sc_handle); sc_handle 2965 drivers/platform/x86/sony-laptop.c sc_handle = NULL;