staging: fsl-dpaa2/eth: Refactor MAC address setup
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Tue, 6 Jun 2017 15:00:40 +0000 (10:00 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2017 10:04:38 +0000 (12:04 +0200)
commit6ab00868464fb1acaed7276b47d92c64c4d8623f
treec41f1f9013f38e823a6c3d0c59b3af07461f45f6
parent39163c0ce0f48557d0672fa2dd4cd7625e2cbaf7
staging: fsl-dpaa2/eth: Refactor MAC address setup

The driver logic for allocating a MAC address to a net device
is complicated enough to deserve a function of its own. While
here, cleanup a bit the code comments.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c