Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/platform/mellanox/
Dmlxreg-hotplug.c191 #define PRIV_ATTR(i) priv->mlxreg_hotplug_attr[i] macro
210 PRIV_ATTR(id) = &PRIV_DEV_ATTR(id).dev_attr.attr; in mlxreg_hotplug_attr_init()
211 PRIV_ATTR(id)->name = devm_kasprintf(&priv->pdev->dev, in mlxreg_hotplug_attr_init()
215 if (!PRIV_ATTR(id)->name) { in mlxreg_hotplug_attr_init()
222 PRIV_ATTR(id)->name; in mlxreg_hotplug_attr_init()