diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2017-09-26 12:08:27 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-10-11 21:15:44 +0200 |
commit | c343bc2ce2c627b6cef2b09794a4a5b63419a798 (patch) | |
tree | 49636b7f7c4f3e6dc9ff4be45a1516fac57fecd5 /drivers/ide/slc90e66.c | |
parent | 5ab894aee0f171a682bcd90dd5d1930cb53c55dc (diff) | |
download | linux-stable-c343bc2ce2c627b6cef2b09794a4a5b63419a798.tar.gz linux-stable-c343bc2ce2c627b6cef2b09794a4a5b63419a798.tar.bz2 linux-stable-c343bc2ce2c627b6cef2b09794a4a5b63419a798.zip |
ACPI: properties: Align return codes of __acpi_node_get_property_reference()
acpi_fwnode_get_reference_args(), the function implementing ACPI
support for fwnode_property_get_reference_args(), returns directly
error codes from __acpi_node_get_property_reference(). The latter
uses different error codes than the OF implementation. In particular,
the OF implementation uses -ENOENT to indicate that the property is
not found, a reference entry is empty and there are no more
references.
Document and align the error codes for property for
fwnode_property_get_reference_args() so that they match with
of_parse_phandle_with_args().
Fixes: 3e3119d3088f (device property: Introduce fwnode_property_get_reference_args)
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/ide/slc90e66.c')
0 files changed, 0 insertions, 0 deletions