From: Rafael J. Wysocki Date: Mon, 27 Jan 2014 22:08:09 +0000 (+0100) Subject: ACPI / scan: Clear match_driver flag in acpi_bus_trim() X-Git-Tag: v3.14-rc1~21^2~1^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a951c773bc39677ef3fa42814be7f5218a3100b2;p=pandora-kernel.git ACPI / scan: Clear match_driver flag in acpi_bus_trim() Drivers should not bind to struct acpi_device objects that acpi_bus_trim() has been called for, so make that function clear flags.match_driver for those objects. If that is not done, an ACPI driver may theoretically try to operate a device that is not physically present. Fixes: 202317a573b2 (ACPI / scan: Add acpi_device objects for all device nodes in the namespace) Signed-off-by: Rafael J. Wysocki Acked-by: Toshi Kani --- Reading git-diff-tree failed