rockchip: net: dm: convert fdt_get to dev_read
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 7 Jun 2017 16:46:01 +0000 (18:46 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 11 Jul 2017 10:13:43 +0000 (12:13 +0200)
commit7ad326a905dac36939f9ea725835f809e1b7f432
treec257aef8ef23c75090c6c47427dac89de67c45ca
parentfd1bf8df2507fb488febe4b5e4498adbef0fb43e
rockchip: net: dm: convert fdt_get to dev_read

With the new dev_read functions available, we can convert the rockchip
architecture-specific drivers and common drivers used by these devices
over to the dev_read family of calls.

This covers the Gigabit Ethernet MAC (i.e. common designware driver and
rockchip-specific wrapper).

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/net/designware.c
drivers/net/gmac_rockchip.c