Home
last modified time | relevance | path

Searched refs:panel_handle (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/platform/x86/
Dsony-laptop.c2868 static struct device_attribute *panel_handle; variable
2885 panel_handle = kzalloc(sizeof(struct device_attribute), GFP_KERNEL); in sony_nc_panelid_setup()
2886 if (!panel_handle) in sony_nc_panelid_setup()
2889 sysfs_attr_init(&panel_handle->attr); in sony_nc_panelid_setup()
2890 panel_handle->attr.name = "panel_id"; in sony_nc_panelid_setup()
2891 panel_handle->attr.mode = S_IRUGO; in sony_nc_panelid_setup()
2892 panel_handle->show = sony_nc_panelid_show; in sony_nc_panelid_setup()
2893 panel_handle->store = NULL; in sony_nc_panelid_setup()
2895 result = device_create_file(&pd->dev, panel_handle); in sony_nc_panelid_setup()
2897 kfree(panel_handle); in sony_nc_panelid_setup()
[all …]