]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
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)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:19:43 +0000 (10:19 +0100)
commit2a9ba7691cb545e30bbaff65ddf80fce009bac07
tree7aafc8b0d5ee5d2b031151bfac03c62e4d94ae64
parentbd10f6ef8e5e8ee6d105afcd75a8f36b5da93020
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>
(cherry picked from linux-next commit eee326fd83348ed39a06c0db999ed513d10d9c39)
Signed-off-by: Dann Frazier <dann.frazier@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/net/ethernet/cavium/thunder/thunder_bgx.c