]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
device property: fwnode_property_read_string_array() may return -EILSEQ
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 28 Mar 2017 12:22:17 +0000 (15:22 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 28 Mar 2017 22:00:30 +0000 (00:00 +0200)
fwnode_property_read_string_array() may return -EILSEQ through
of_property_read_string_array(). Document this.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/property.c

index 627ebc9b570dc6b28e42cdc1c5d53d99da8e076f..c69bde8086cc21aa1e79bdaa397959a4d419a3bb 100644 (file)
@@ -591,7 +591,7 @@ static int __fwnode_property_read_string(struct fwnode_handle *fwnode,
  *         %0 if the property was found (success),
  *        %-EINVAL if given arguments are not valid,
  *        %-ENODATA if the property does not have a value,
- *        %-EPROTO if the property is not an array of strings,
+ *        %-EPROTO or %-EILSEQ if the property is not an array of strings,
  *        %-EOVERFLOW if the size of the property is not as expected,
  *        %-ENXIO if no suitable firmware interface is present.
  */