summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-10-04 20:43:40 +0200
committerMarcel Holtmann <marcel@holtmann.org>2017-10-06 20:35:48 +0200
commit42ef18f09f593e6dd84777948a5e8189502cba0c (patch)
treed70c786d17fd2893ece8d8abd74263d7ca11e85f /drivers
parentBluetooth: hci_bcm: Store device pointer instead of platform_device pointer (diff)
downloadlinux-42ef18f09f593e6dd84777948a5e8189502cba0c.tar.xz
linux-42ef18f09f593e6dd84777948a5e8189502cba0c.zip
Bluetooth: hci_bcm: Rename bcm_platform_probe to bcm_get_resources
After our previous changes, there is nothing platform specific about bcm_platform_probe anymore, rename it to bcm_get_resources. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/bluetooth/hci_bcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c
index 101b17ae9aa7..7f1971adeea8 100644
--- a/drivers/bluetooth/hci_bcm.c
+++ b/drivers/bluetooth/hci_bcm.c
@@ -756,7 +756,7 @@ static int bcm_resource(struct acpi_resource *ares, void *data)
}
#endif /* CONFIG_ACPI */
-static int bcm_platform_probe(struct bcm_device *dev)
+static int bcm_get_resources(struct bcm_device *dev)
{
dev->name = dev_name(dev->dev);
@@ -857,7 +857,7 @@ static int bcm_probe(struct platform_device *pdev)
return ret;
}
- ret = bcm_platform_probe(dev);
+ ret = bcm_get_resources(dev);
if (ret)
return ret;