]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4069b04a013a8d56821cf886ea7e84e632aa07cc
treec27fc9beaf23379280c0b4723f6aeaf4460e3445
parentbc09c2a326a24900c75185c2484aab495a582109
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