From: Rafael J. Wysocki Date: Tue, 29 Jan 2013 12:57:20 +0000 (+0100) Subject: ACPI / scan: Make scanning of fixed devices follow the general scheme X-Git-Tag: v3.9-rc1~146^2~7^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c0d4fe0189ae5e29fd9602d5b83f3b2b169bd1b;p=pandora-kernel.git ACPI / scan: Make scanning of fixed devices follow the general scheme Make acpi_bus_scan_fixed() use device_attach() directly to attach drivers, if any, to the fixed devices in analogy with how acpi_bus_scan() works, which allows the last argument of acpi_add_single_object() to be dropped and the manipulation of the flags.match_driver bit to be moved to acpi_init_device_object() and acpi_device_add_finalize(). After these changes all of the functions for the initialization and registration of struct acpi_device objects work in the same way for all of them. Signed-off-by: Rafael J. Wysocki Acked-by: Yinghai Lu --- Reading git-diff-tree failed