of: Add of_property_read_string_array()
of_property_read_string_array() is used to read a multistring device
tree property into an array of strings. This is taken from the kernel.
It is implemented around of_property_read_string_helper() which can be
used to implement of_property_count_strings() and
of_property_read_string_index() as well.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c7ec778 commit 6441dfa8307a564f797b868a74205fe9c2f42eb0
@Sascha Hauer Sascha Hauer authored on 22 Nov 2019
Showing 2 changed files
View
drivers/of/base.c
View
include/of.h