Lines Matching defs:panel_handle
2873 static struct device_attribute *panel_handle;
2890 panel_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL);
2891 if (!panel_handle)
2894 sysfs_attr_init(&panel_handle->attr);
2895 panel_handle->attr.name = "panel_id";
2896 panel_handle->attr.mode = S_IRUGO;
2897 panel_handle->show = sony_nc_panelid_show;
2898 panel_handle->store = NULL;
2900 result = device_create_file(&pd->dev, panel_handle);
2902 kfree(panel_handle);
2903 panel_handle = NULL;
2912 if (panel_handle) {
2913 device_remove_file(&pd->dev, panel_handle);
2914 kfree(panel_handle);
2915 panel_handle = NULL;