Home
last modified time | relevance | path

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

/openbmc/linux/drivers/extcon/
H A Dextcon.c1213 edev->extcon_dev_type.groups = kcalloc(edev->max_supported + 2, in extcon_alloc_groups()
1214 sizeof(*edev->extcon_dev_type.groups), in extcon_alloc_groups()
1216 if (!edev->extcon_dev_type.groups) in extcon_alloc_groups()
1219 edev->extcon_dev_type.name = dev_name(&edev->dev); in extcon_alloc_groups()
1220 edev->extcon_dev_type.release = dummy_sysfs_dev_release; in extcon_alloc_groups()
1223 edev->extcon_dev_type.groups[index] = &edev->cables[index].attr_g; in extcon_alloc_groups()
1226 edev->extcon_dev_type.groups[index] = &edev->attr_g_muex; in extcon_alloc_groups()
1228 edev->dev.type = &edev->extcon_dev_type; in extcon_alloc_groups()
1331 kfree(edev->extcon_dev_type.groups); in extcon_dev_register()
1390 kfree(edev->extcon_dev_type.groups); in extcon_dev_unregister()
H A Dextcon.h59 struct device_type extcon_dev_type; member