projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b17fb9
)
Bluetooth: hci_qca: Replace of_device_get_match_data with device_get_match_data
author
Rocky Liao
<rjliao@codeaurora.org>
Fri, 13 Dec 2019 08:50:45 +0000
(16:50 +0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 4 Jan 2020 09:41:03 +0000
(10:41 +0100)
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>
drivers/bluetooth/hci_qca.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/bluetooth/hci_qca.c
b/drivers/bluetooth/hci_qca.c
index f10bdf8e1fc5deee1336db469aeae27fee8341f5..b602ed01505b697ced9fa893080b001377a8bb87 100644
(file)
--- 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);