ACPI / osl: Propagate actual error code for kstrtoul()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 2 Dec 2016 17:42:46 +0000 (19:42 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 Dec 2016 21:13:57 +0000 (22:13 +0100)
commit5dcb9ca8403c31f4a9a6e21b0057be3bdefb7414
tree7f57301c4d4612fb61067529d8bf64eaf73b64fb
parent3e5de27e940d00d8d504dfb96625fb654f641509
ACPI / osl: Propagate actual error code for kstrtoul()

There is no need to override the error code returned by kstrtoul().
Propagate it directly to the caller.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/osl.c