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>hifive-unleashed-5.1
parent
c0d3ce580b
commit
42ef18f09f
|
@ -756,7 +756,7 @@ static int bcm_resource(struct acpi_resource *ares, void *data)
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_ACPI */
|
#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);
|
dev->name = dev_name(dev->dev);
|
||||||
|
|
||||||
|
@ -857,7 +857,7 @@ static int bcm_probe(struct platform_device *pdev)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = bcm_platform_probe(dev);
|
ret = bcm_get_resources(dev);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue