net: fsl: Use device_type helpers to access the node type
authorRob Herring <robh@kernel.org>
Fri, 16 Nov 2018 22:11:03 +0000 (16:11 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Nov 2018 05:52:58 +0000 (21:52 -0800)
commitd7b4a2f2329e1727b31b898dba1d397e5d90a5d8
treec27fc9beaf23379280c0b4723f6aeaf4460e3445
parentee5b60eba73bd9f854c6d810c582a8097bdca0ef
net: fsl: Use device_type helpers to access the node type

Remove directly accessing device_node.type pointer and use the accessors
instead. This will eventually allow removing the type pointer.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fsl_pq_mdio.c