netdev: mdio-octeon.c: Convert to use device tree.
authorDavid Daney <david.daney@cavium.com>
Thu, 5 Jul 2012 16:12:39 +0000 (18:12 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 23 Jul 2012 12:54:53 +0000 (13:54 +0100)
commit2fd46f47be0f96be700053d6caa8dcb14453a520
treefecfa052b1de9164ebdc3294a5689f2b90bae732
parentf353a218de6393fb43a5e81c3adbe1aac1a871ab
netdev: mdio-octeon.c: Convert to use device tree.

Get the MDIO bus controller addresses from the device tree, small
clean up in use of devm_*

Remove, now unused, platform device setup code.

Signed-off-by: David Daney <david.daney@cavium.com>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: linux-mips@linux-mips.org
Cc: devicetree-discuss@lists.ozlabs.org
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/3938/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/octeon-platform.c
drivers/net/phy/mdio-octeon.c