Home
last modified time | relevance | path

Searched refs:afu_attrs (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/misc/cxl/
Dsysfs.c359 static struct device_attribute afu_attrs[] = { variable
537 for (i = 0; i < ARRAY_SIZE(afu_attrs); i++) in cxl_sysfs_afu_remove()
538 device_remove_file(&afu->dev, &afu_attrs[i]); in cxl_sysfs_afu_remove()
553 for (i = 0; i < ARRAY_SIZE(afu_attrs); i++) { in cxl_sysfs_afu_add()
554 if ((rc = device_create_file(&afu->dev, &afu_attrs[i]))) in cxl_sysfs_afu_add()
574 device_remove_file(&afu->dev, &afu_attrs[i]); in cxl_sysfs_afu_add()