]> git.baikalelectronics.ru Git - kernel.git/commit
cxl: Use device_type helpers to access the node type
authorRob Herring <robh@kernel.org>
Fri, 16 Nov 2018 22:11:02 +0000 (16:11 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Nov 2018 11:33:37 +0000 (22:33 +1100)
commitf5a9ad59a6dc6970cdfd2854a06e129d4c17f217
tree1e3870835271d72dddb35bdad1b9cb0a8578303b
parent0b33dd8d52e4dbd7c89016491e69f57c15c9a95f
cxl: 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>
Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/pci.c