device property: return -EINVAL when property isn't found in ACPI
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 30 Nov 2015 15:11:35 +0000 (17:11 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Dec 2015 01:29:23 +0000 (02:29 +0100)
commit3c60f1149a2fee9ac4ef3cc27bd830e3bd8d2654
tree537a04bef6558583361b432240982a62323e45be
parent1d656fb757c17e48a8a01bd576d14918701ba55c
device property: return -EINVAL when property isn't found in ACPI

Change return code to be in align with OF and built-in device properties error
codes. In particular -EINVAL means property is not found.

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