MIPS: Use device_type helpers to access the node type
authorRob Herring <robh@kernel.org>
Fri, 16 Nov 2018 22:10:58 +0000 (16:10 -0600)
committerPaul Burton <paul.burton@mips.com>
Mon, 19 Nov 2018 19:04:38 +0000 (11:04 -0800)
commit49e510dd164c8365fe03cd9638afbc7c1a156527
treeb1953fabc84095c29d0243291b3af79bd4d647c6
parente4849aff1e169b86c561738daf8ff020e9de1011
MIPS: 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.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21150/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/pci/pci-rt3883.c