Searched refs:d_attrs_muex (Results 1 – 2 of 2) sorted by relevance
1168 edev->d_attrs_muex = kcalloc(index, sizeof(*edev->d_attrs_muex), in extcon_alloc_muex()1170 if (!edev->d_attrs_muex) { in extcon_alloc_muex()1180 kfree(edev->d_attrs_muex[index].attr.name); in extcon_alloc_muex()1182 kfree(edev->d_attrs_muex); in extcon_alloc_muex()1186 sysfs_attr_init(&edev->d_attrs_muex[index].attr); in extcon_alloc_muex()1187 edev->d_attrs_muex[index].attr.name = name; in extcon_alloc_muex()1188 edev->d_attrs_muex[index].attr.mode = 0000; in extcon_alloc_muex()1335 kfree(edev->d_attrs_muex[index].attr.name); in extcon_dev_register()1336 kfree(edev->d_attrs_muex); in extcon_dev_register()1381 kfree(edev->d_attrs_muex[index].attr.name); in extcon_dev_unregister()[all …]
65 struct device_attribute *d_attrs_muex; member