dell-wmi: sys_init_module: 'dell_wmi'->init suspiciously returned 21, it should follo...
authorLen Brown <len.brown@intel.com>
Wed, 30 Dec 2009 06:21:42 +0000 (01:21 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Dec 2009 20:42:53 +0000 (12:42 -0800)
commit5ccf73bb4dc7cc9e1f761202a34de5714164724f
treecbda05c7cccbd6f79644b14021635481ac0e8b44
parentb58454ec25e80fdb84e294758aeb22dd6d5ee6f9
dell-wmi: sys_init_module: 'dell_wmi'->init suspiciously returned 21, it should follow 0/-E convention

wmi_install_notify_handler() returns an acpi_error,
but dell_wmi_init() needs return a -errno style error.

Signed-off-by: Len Brown <len.brown@intel.com>
Tested-by: Paul Rolland <rol@as2917.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/platform/x86/dell-wmi.c