staging: fsl-mc: use device_type instead of strcmp()
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Fri, 17 Nov 2017 13:38:34 +0000 (15:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Nov 2017 08:20:41 +0000 (09:20 +0100)
commit19e2be77f36cfd5930569cad2d197f31a576cf88
tree76e3c0323e2d6726bc85b1d8697b4cc5dddb5fd1
parent47433b630b7b30d0daa360c64308c0f4c9632986
staging: fsl-mc: use device_type instead of strcmp()

Replace strcmp() based device type checks with the standard device
model type.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/dprc-driver.c
drivers/staging/fsl-mc/bus/fsl-mc-allocator.c
drivers/staging/fsl-mc/bus/fsl-mc-bus.c