Commit 9f3565b8 authored by Rocky Liao's avatar Rocky Liao Committed by Marcel Holtmann

Bluetooth: hci_qca: Replace of_device_get_match_data with device_get_match_data

Replace of_device_get_match_data with device_get_match_data to make driver
work across platforms.
Signed-off-by: default avatarRocky Liao <rjliao@codeaurora.org>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 8b17fb96
......@@ -1501,7 +1501,7 @@ static int qca_serdev_probe(struct serdev_device *serdev)
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment