]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/acpi/scan.c
Revert "ACPI / scan: do not match drivers against objects having scan handlers"
[karo-tx-linux.git] / drivers / acpi / scan.c
index 90c5759e1355e667ac34839720149da8bda701e8..44225cb15f3a248fb842c6e3b3d3f188f47aa99d 100644 (file)
@@ -740,10 +740,6 @@ static int acpi_bus_match(struct device *dev, struct device_driver *drv)
        struct acpi_device *acpi_dev = to_acpi_device(dev);
        struct acpi_driver *acpi_drv = to_acpi_driver(drv);
 
-       /* Skip ACPI device objects with scan handlers attached. */
-       if (acpi_dev->handler)
-               return 0;
-
        return acpi_dev->flags.match_driver
                && !acpi_match_device_ids(acpi_dev, acpi_drv->ids);
 }