Sakari Ailus c343bc2ce2 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>
2017-10-11 21:15:44 +02:00
..
2017-10-04 17:34:41 +01:00
2017-09-11 13:10:57 -07:00
2016-04-27 23:42:57 +02:00
2016-01-04 22:10:30 +01:00
2017-08-24 03:38:25 +02:00
2017-07-04 14:16:49 -07:00
2015-07-08 02:27:32 +02:00
2015-07-08 02:27:32 +02:00
2016-10-10 02:20:43 +02:00
2017-05-09 15:15:47 -07:00
2015-07-08 02:27:32 +02:00
2017-05-03 12:16:25 -07:00
2017-08-07 14:28:51 +02:00