Lines Matching refs:devres
1223 struct wacom_sysfs_group_devres *devres = res; in wacom_devm_sysfs_group_release() local
1224 struct kobject *kobj = devres->root; in wacom_devm_sysfs_group_release()
1227 __func__, devres->group->name); in wacom_devm_sysfs_group_release()
1228 sysfs_remove_group(kobj, devres->group); in wacom_devm_sysfs_group_release()
1235 struct wacom_sysfs_group_devres *devres; in __wacom_devm_sysfs_create_group() local
1238 devres = devres_alloc(wacom_devm_sysfs_group_release, in __wacom_devm_sysfs_create_group()
1241 if (!devres) in __wacom_devm_sysfs_create_group()
1244 devres->group = group; in __wacom_devm_sysfs_create_group()
1245 devres->root = root; in __wacom_devm_sysfs_create_group()
1247 error = sysfs_create_group(devres->root, group); in __wacom_devm_sysfs_create_group()
1249 devres_free(devres); in __wacom_devm_sysfs_create_group()
1253 devres_add(&wacom->hdev->dev, devres); in __wacom_devm_sysfs_create_group()
1267 struct kfifo_rec_ptr_2 *devres = res; in wacom_devm_kfifo_release() local
1269 kfifo_free(devres); in wacom_devm_kfifo_release()