Searched refs:dpaa_eth_attrs (Results 1 – 1 of 1) sorted by relevance
115 static struct device_attribute dpaa_eth_attrs[] = { variable125 for (i = 0; i < ARRAY_SIZE(dpaa_eth_attrs); i++) in dpaa_eth_sysfs_init()126 if (device_create_file(dev, &dpaa_eth_attrs[i])) { in dpaa_eth_sysfs_init()129 device_remove_file(dev, &dpaa_eth_attrs[--i]); in dpaa_eth_sysfs_init()138 for (i = 0; i < ARRAY_SIZE(dpaa_eth_attrs); i++) in dpaa_eth_sysfs_remove()139 device_remove_file(dev, &dpaa_eth_attrs[i]); in dpaa_eth_sysfs_remove()