* [PATCH v1] Bluetooth: hci_qca: Replace of_device_get_match_data with device_get_match_data
@ 2019-12-13 8:50 Rocky Liao
2019-12-17 7:45 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Rocky Liao @ 2019-12-13 8:50 UTC (permalink / raw)
To: marcel, johan.hedberg; +Cc: linux-kernel, linux-bluetooth, Rocky Liao
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>
---
drivers/bluetooth/hci_qca.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index f10bdf8e1fc5..b602ed01505b 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
@@ -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);
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] Bluetooth: hci_qca: Replace of_device_get_match_data with device_get_match_data
2019-12-13 8:50 [PATCH v1] Bluetooth: hci_qca: Replace of_device_get_match_data with device_get_match_data Rocky Liao
@ 2019-12-17 7:45 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2019-12-17 7:45 UTC (permalink / raw)
To: Rocky Liao; +Cc: Johan Hedberg, linux-kernel, linux-bluetooth
Hi Rocky,
> 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>
> ---
> drivers/bluetooth/hci_qca.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-17 7:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-13 8:50 [PATCH v1] Bluetooth: hci_qca: Replace of_device_get_match_data with device_get_match_data Rocky Liao
2019-12-17 7:45 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).