net: ethernet: xilinx: Convert xilinx_axienet to module_platform_driver
authorTobias Klauser <tklauser@distanz.ch>
Fri, 17 Feb 2012 05:35:37 +0000 (05:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2012 21:07:19 +0000 (16:07 -0500)
commitb4a466765d3fb05c1f63ddc5d195980ead894ded
tree24566efb8b5121ec48b0f88b988605c906ecc563
parent95f2054f167f7da72b0771984dbb2bec612740d0
net: ethernet: xilinx: Convert xilinx_axienet to module_platform_driver

Follow commit db62f684. Convert the driver to use the
module_platform_driver() macro which makes the code a bit smaller and
simpler.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c