From: Toshi Kani Date: Thu, 7 Feb 2013 21:19:13 +0000 (+0000) Subject: ACPI: Unbind ACPI drv when probe failed X-Git-Tag: v3.9-rc1~146^2~7^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f27ee8e1261e47ec2e9dbebf17e87e55f568d75;p=pandora-kernel.git ACPI: Unbind ACPI drv when probe failed When acpi_device_install_notify_handler() failed in acpi_device_probe(), it calls acpi_drv->ops.remove() and fails the probe. However, the ACPI driver is left bound to the acpi_device. Fix it by clearing the driver and driver_data fields. Signed-off-by: Toshi Kani Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed