Lines Matching refs:devres
1228 struct wacom_sysfs_group_devres *devres = res; in wacom_devm_sysfs_group_release() local
1229 struct kobject *kobj = devres->root; in wacom_devm_sysfs_group_release()
1232 __func__, devres->group->name); in wacom_devm_sysfs_group_release()
1233 sysfs_remove_group(kobj, devres->group); in wacom_devm_sysfs_group_release()
1240 struct wacom_sysfs_group_devres *devres; in __wacom_devm_sysfs_create_group() local
1243 devres = devres_alloc(wacom_devm_sysfs_group_release, in __wacom_devm_sysfs_create_group()
1246 if (!devres) in __wacom_devm_sysfs_create_group()
1249 devres->group = group; in __wacom_devm_sysfs_create_group()
1250 devres->root = root; in __wacom_devm_sysfs_create_group()
1252 error = sysfs_create_group(devres->root, group); in __wacom_devm_sysfs_create_group()
1254 devres_free(devres); in __wacom_devm_sysfs_create_group()
1258 devres_add(&wacom->hdev->dev, devres); in __wacom_devm_sysfs_create_group()
1272 struct kfifo_rec_ptr_2 *devres = res; in wacom_devm_kfifo_release() local
1274 kfifo_free(devres); in wacom_devm_kfifo_release()