Searched refs:adapter_attrs (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/misc/cxl/
H A Dsysfs.c115 static struct device_attribute adapter_attrs[] = { variable in typeref:struct:device_attribute
375 for (i = 0; i < ARRAY_SIZE(adapter_attrs); i++) { cxl_sysfs_adapter_add()
376 if ((rc = device_create_file(&adapter->dev, &adapter_attrs[i]))) cxl_sysfs_adapter_add()
382 device_remove_file(&adapter->dev, &adapter_attrs[i]); cxl_sysfs_adapter_add()
389 for (i = 0; i < ARRAY_SIZE(adapter_attrs); i++) cxl_sysfs_adapter_remove()
390 device_remove_file(&adapter->dev, &adapter_attrs[i]); cxl_sysfs_adapter_remove()

Completed in 78 milliseconds