Lines Matching refs:devres
1231 struct wacom_sysfs_group_devres *devres = res; in wacom_devm_sysfs_group_release() local
1232 struct kobject *kobj = devres->root; in wacom_devm_sysfs_group_release()
1235 __func__, devres->group->name); in wacom_devm_sysfs_group_release()
1236 sysfs_remove_group(kobj, devres->group); in wacom_devm_sysfs_group_release()
1243 struct wacom_sysfs_group_devres *devres; in __wacom_devm_sysfs_create_group() local
1246 devres = devres_alloc(wacom_devm_sysfs_group_release, in __wacom_devm_sysfs_create_group()
1249 if (!devres) in __wacom_devm_sysfs_create_group()
1252 devres->group = group; in __wacom_devm_sysfs_create_group()
1253 devres->root = root; in __wacom_devm_sysfs_create_group()
1255 error = sysfs_create_group(devres->root, group); in __wacom_devm_sysfs_create_group()
1257 devres_free(devres); in __wacom_devm_sysfs_create_group()
1261 devres_add(&wacom->hdev->dev, devres); in __wacom_devm_sysfs_create_group()
1275 struct kfifo_rec_ptr_2 *devres = res; in wacom_devm_kfifo_release() local
1277 kfifo_free(devres); in wacom_devm_kfifo_release()