net: davinci_emac: convert to using the driver model
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 24 Jul 2019 08:12:07 +0000 (10:12 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 25 Jul 2019 18:36:13 +0000 (13:36 -0500)
commite809285d4942cbd6c3efb381bd48dcf8294639a7
tree52f0e6d0964367abf1fa7732faa2013966a7e86a
parent53fd12cfe17d0b6df2cd924fe943cc8f8bee03b9
net: davinci_emac: convert to using the driver model

Now that we removed all legacy boards selecting TI_EMAC we can
completely convert the driver code to using the driver model.
This patch also updates all remaining users of davinci_emac.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Tested-by: Adam Ford <aford173@gmail.com> #am3517-evm & da850-evm
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
15 files changed:
arch/arm/mach-davinci/cpu.c
arch/arm/mach-omap2/omap3/emac.c
board/davinci/da8xxevm/da850evm.c
board/davinci/da8xxevm/omapl138_lcdk.c
board/logicpd/am3517evm/am3517evm.c
board/ti/ti816x/evm.c
configs/am3517_evm_defconfig
configs/da850_am18xxevm_defconfig
configs/da850evm_defconfig
configs/da850evm_direct_nor_defconfig
configs/da850evm_nand_defconfig
configs/omapl138_lcdk_defconfig
configs/ti816x_evm_defconfig
drivers/net/ti/davinci_emac.c
include/netdev.h