]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
don't load asus-acpi if model is not supported
authorZhang Rui <rui.zhang@intel.com>
Fri, 17 Oct 2008 05:42:41 +0000 (01:42 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Feb 2009 22:00:44 +0000 (14:00 -0800)
commit0a3e5c9d9093df1358ae3e6a5c151d172d2a871e
treecc59aed59d4441b58dedf33124997b910c15b4ea
parent9b304c0bd70f0056f86340ee6eafacefbbb6a5e8
don't load asus-acpi if model is not supported

commit 7745384080ef70f7710530afa3e45477b126e056 upstream.

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>
Cc: Thomas Renninger <trenn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/acpi/asus_acpi.c