device property: return -EINVAL when property isn't found in ACPI
Andy Shevchenko authored
BugLink: http://bugs.launchpad.net/bugs/1533035



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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 3c60f114

)
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
f053c52f