Lines Matching defs:panel_handle
2858 static struct device_attribute *panel_handle;
2875 panel_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL);
2876 if (!panel_handle)
2879 sysfs_attr_init(&panel_handle->attr);
2880 panel_handle->attr.name = "panel_id";
2881 panel_handle->attr.mode = S_IRUGO;
2882 panel_handle->show = sony_nc_panelid_show;
2883 panel_handle->store = NULL;
2885 result = device_create_file(&pd->dev, panel_handle);
2887 kfree(panel_handle);
2888 panel_handle = NULL;
2897 if (panel_handle) {
2898 device_remove_file(&pd->dev, panel_handle);
2899 kfree(panel_handle);
2900 panel_handle = NULL;