Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth_sysfs.c115 static struct device_attribute dpaa_eth_attrs[] = { variable
125 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()