|
@@ -647,16 +647,11 @@ static int bcm_resource(struct acpi_resource *ares, void *data)
|
|
|
static int bcm_acpi_probe(struct bcm_device *dev)
|
|
|
{
|
|
|
struct platform_device *pdev = dev->pdev;
|
|
|
- const struct acpi_device_id *id;
|
|
|
struct acpi_device *adev;
|
|
|
LIST_HEAD(resources);
|
|
|
const struct dmi_system_id *dmi_id;
|
|
|
int ret;
|
|
|
|
|
|
- id = acpi_match_device(pdev->dev.driver->acpi_match_table, &pdev->dev);
|
|
|
- if (!id)
|
|
|
- return -ENODEV;
|
|
|
-
|
|
|
/* Retrieve GPIO data */
|
|
|
dev->name = dev_name(&pdev->dev);
|
|
|
ret = acpi_dev_add_driver_gpios(ACPI_COMPANION(&pdev->dev),
|