Bluetooth: hci_qca: Replace of_device_get_match_data with device_get_match_data
Subsystems (2)
PATCH 1/1 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 Rocky Liao <[email protected]>
--- drivers/bluetooth/hci_qca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bluetooth/hci_qca.c +1 -1
@@ -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);
Signature · 1 line
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Marcel Holtmann
maintainerHi Rocky,
Quoted 7 lines
Replace
of_device_get_match_datawithdevice_get_match_datato make driver work across platforms.Signed-off-by Rocky Liao <[email protected]>---
drivers/bluetooth/hci_qca.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel