don't load asus-acpi if model is not supported
commit7745384080ef70f7710530afa3e45477b126e056
authorZhang Rui <rui.zhang@intel.com>
Fri, 17 Oct 2008 05:42:41 +0000 (17 01:42 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 17 Oct 2008 05:42:41 +0000 (17 01:42 -0400)
treebd25051213d8efbbb6499dc6a87a4945c9fb6078
parent0ef9cff15d47b296d4a7feecf36e7989cebf9a33
don't load asus-acpi if model is not supported

asus_hotk_get_info should return -ENODEV if the model is not supported.
http://bugzilla.kernel.org/show_bug.cgi?id=10389

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/asus_acpi.c