Replace of_device_get_match_data with device_get_match_data to make driver
work across platforms.
Signed-off-by: Rocky Liao <rjliao@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
                return -ENOMEM;
 
        qcadev->serdev_hu.serdev = serdev;
-       data = of_device_get_match_data(&serdev->dev);
+       data = device_get_match_data(&serdev->dev);
        serdev_device_set_drvdata(serdev, qcadev);
        device_property_read_string(&serdev->dev, "firmware-name",
                                         &qcadev->firmware_name);