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>
This commit is contained in:
Laurentiu Tudor 2017-11-17 15:38:34 +02:00 • committed by Greg Kroah-Hartman
commit 19e2be77f3
3 changed files with 16 additions and 16 deletions