diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2017-03-28 15:22:19 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-03-29 00:00:30 +0200 |
commit | b0b027cee090a1e3278960e1c8257213fda40f10 (patch) | |
tree | b724d2926fd71fb1c5feab5fab63e7a3bed0aa16 /include | |
parent | 0f194992c85f972ee99f176eb78a5860cef78573 (diff) | |
download | linux-b0b027cee090a1e3278960e1c8257213fda40f10.tar.gz linux-b0b027cee090a1e3278960e1c8257213fda40f10.tar.bz2 linux-b0b027cee090a1e3278960e1c8257213fda40f10.zip |
device property: fwnode_property_read_string_array() returns nr of strings
Functionally fwnode_property_read_string_array() should match
of_property_read_string_array() and work as a drop-in substitute for the
latter. of_property_read_string_array() returns the number of strings read
if the target string pointer array is non-NULL. Make
fwnode_property_read_string_array() do the same.
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions