Lines Matching refs:devres
1348 union device_attr_group_devres *devres = res; in devm_attr_group_remove() local
1349 const struct attribute_group *group = devres->group; in devm_attr_group_remove()
1357 union device_attr_group_devres *devres = res; in devm_attr_groups_remove() local
1358 const struct attribute_group **groups = devres->groups; in devm_attr_groups_remove()
1376 union device_attr_group_devres *devres; in devm_device_add_group() local
1379 devres = devres_alloc(devm_attr_group_remove, in devm_device_add_group()
1380 sizeof(*devres), GFP_KERNEL); in devm_device_add_group()
1381 if (!devres) in devm_device_add_group()
1386 devres_free(devres); in devm_device_add_group()
1390 devres->group = grp; in devm_device_add_group()
1391 devres_add(dev, devres); in devm_device_add_group()
1429 union device_attr_group_devres *devres; in devm_device_add_groups() local
1432 devres = devres_alloc(devm_attr_groups_remove, in devm_device_add_groups()
1433 sizeof(*devres), GFP_KERNEL); in devm_device_add_groups()
1434 if (!devres) in devm_device_add_groups()
1439 devres_free(devres); in devm_device_add_groups()
1443 devres->groups = groups; in devm_device_add_groups()
1444 devres_add(dev, devres); in devm_device_add_groups()