Searched refs:dmi_dev (Results 1 – 2 of 2) sorted by relevance
183 static struct device *dmi_dev; variable239 dmi_dev = kzalloc(sizeof(*dmi_dev), GFP_KERNEL); in dmi_id_init()240 if (!dmi_dev) { in dmi_id_init()245 dmi_dev->class = &dmi_class; in dmi_id_init()246 dev_set_name(dmi_dev, "id"); in dmi_id_init()247 dmi_dev->groups = sys_dmi_attribute_groups; in dmi_id_init()249 ret = device_register(dmi_dev); in dmi_id_init()256 put_device(dmi_dev); in dmi_id_init()
702 const struct dmi_device *dmi_dev; in chromeos_laptop_get_irq_from_dmi() local705 dmi_dev = dmi_find_device(DMI_DEV_TYPE_DEV_ONBOARD, dmi_name, NULL); in chromeos_laptop_get_irq_from_dmi()706 if (!dmi_dev) { in chromeos_laptop_get_irq_from_dmi()711 dev_data = dmi_dev->device_data; in chromeos_laptop_get_irq_from_dmi()