Lines Matching refs:devres
2595 union device_attr_group_devres *devres = res; in devm_attr_group_remove() local
2596 const struct attribute_group *group = devres->group; in devm_attr_group_remove()
2604 union device_attr_group_devres *devres = res; in devm_attr_groups_remove() local
2605 const struct attribute_group **groups = devres->groups; in devm_attr_groups_remove()
2623 union device_attr_group_devres *devres; in devm_device_add_group() local
2626 devres = devres_alloc(devm_attr_group_remove, in devm_device_add_group()
2627 sizeof(*devres), GFP_KERNEL); in devm_device_add_group()
2628 if (!devres) in devm_device_add_group()
2633 devres_free(devres); in devm_device_add_group()
2637 devres->group = grp; in devm_device_add_group()
2638 devres_add(dev, devres); in devm_device_add_group()
2676 union device_attr_group_devres *devres; in devm_device_add_groups() local
2679 devres = devres_alloc(devm_attr_groups_remove, in devm_device_add_groups()
2680 sizeof(*devres), GFP_KERNEL); in devm_device_add_groups()
2681 if (!devres) in devm_device_add_groups()
2686 devres_free(devres); in devm_device_add_groups()
2690 devres->groups = groups; in devm_device_add_groups()
2691 devres_add(dev, devres); in devm_device_add_groups()