wmi: parse_wdg() should return kernel error codes
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 14 Aug 2013 09:02:30 +0000 (12:02 +0300)
committerMatthew Garrett <matthew.garrett@nebula.com>
Thu, 5 Sep 2013 12:52:06 +0000 (08:52 -0400)
The current code returns a mix of acpi_status and kernel error codes.
It should just return kernel error codes.  There are already error paths
in this function which return -ENOMEM and that's what the caller
expects.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>

No differences found