net: mvgbe: prepare for conversion to driver model
authorChris Packham <judge.packham@gmail.com>
Mon, 9 Jul 2018 09:33:59 +0000 (21:33 +1200)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 26 Jul 2018 19:08:20 +0000 (14:08 -0500)
commite9bf75c9d3b2494c985fd4a21db8036b493fbd11
tree7c75310f3cc7cbe9db6724864b458f4ccf596fc2
parentf25ddca16c96f13c3f7cf7968566d1ff03917012
net: mvgbe: prepare for conversion to driver model

Extract some function bodies to helper functions that can be reused in
the DM/non-DM implementations.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvgbe.c