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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);