dpaa2-eth: name the debugfs directory after the DPNI object
authorIoana Ciornei <ioana.ciornei@nxp.com>
Fri, 21 May 2021 13:25:30 +0000 (16:25 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 May 2021 21:05:04 +0000 (14:05 -0700)
commit30f43d6f1cab2eae349a27bd8a0faa795673a97f
tree6dca9961a60361745610bcc196c6362adc55b93f
parentb193f2ed533f6ddffe947327dcf2e76d8beb72a4
dpaa2-eth: name the debugfs directory after the DPNI object

Name the debugfs directory after the DPNI object instead of the netdev
name since this can be changed after probe by udev rules.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c