net: thunderx: bgx: Use standard firmware node infrastructure.
authorDavid Daney <david.daney@cavium.com>
Thu, 11 Feb 2016 16:20:24 +0000 (21:50 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 16:30:26 +0000 (11:30 -0500)
commiteee326fd83348ed39a06c0db999ed513d10d9c39
tree9df457de7598b438af6d1affe98ed105a8ab72eb
parentfb4b7d98a0215fc3310c8415a86acfe726de395c
net: thunderx: bgx: Use standard firmware node infrastructure.

In the case of OF device tree, the firmware information is attached to
the BGX device structure in the standard manner, so use the firmware
iterators and accessors where possible.

Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/thunder_bgx.c