summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2007-03-08 17:57:31 +0100
committerLen Brown <len.brown@intel.com>2007-06-20 00:33:04 -0400
commite4d49531dcc2f334205d99614164ea900216b1cb (patch)
tree7c923e32a7d41413b0d081aa80cd3680b4ad1dee /Documentation
parent4d2fafd17a325b3f4f5f9edb1211bc7f4c311269 (diff)
downloadlinux-e4d49531dcc2f334205d99614164ea900216b1cb.tar.gz
linux-e4d49531dcc2f334205d99614164ea900216b1cb.tar.bz2
linux-e4d49531dcc2f334205d99614164ea900216b1cb.zip
ACPI: asus_acpi: Do not load if no device has been found
asus_acpi_init() has a hack to prevent the driver from loading when asus_hotk_add() fails. However, it was returning the successful return value of acpi_bug_registger_driver() on failure. This caused an oops on unload. Instead it should return -ENODEV. Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions