Lines Matching refs:devres
1252 struct wacom_sysfs_group_devres *devres = res; in wacom_devm_sysfs_group_release() local
1253 struct kobject *kobj = devres->root; in wacom_devm_sysfs_group_release()
1256 __func__, devres->group->name); in wacom_devm_sysfs_group_release()
1257 sysfs_remove_group(kobj, devres->group); in wacom_devm_sysfs_group_release()
1264 struct wacom_sysfs_group_devres *devres; in __wacom_devm_sysfs_create_group() local
1267 devres = devres_alloc(wacom_devm_sysfs_group_release, in __wacom_devm_sysfs_create_group()
1270 if (!devres) in __wacom_devm_sysfs_create_group()
1273 devres->group = group; in __wacom_devm_sysfs_create_group()
1274 devres->root = root; in __wacom_devm_sysfs_create_group()
1276 error = sysfs_create_group(devres->root, group); in __wacom_devm_sysfs_create_group()
1278 devres_free(devres); in __wacom_devm_sysfs_create_group()
1282 devres_add(&wacom->hdev->dev, devres); in __wacom_devm_sysfs_create_group()
1296 struct kfifo_rec_ptr_2 *devres = res; in wacom_devm_kfifo_release() local
1298 kfifo_free(devres); in wacom_devm_kfifo_release()