of: Add helpers to get one string in multiple strings property
authorBenoit Cousson <b-cousson@ti.com>
Tue, 27 Sep 2011 15:45:43 +0000 (17:45 +0200)
committerKevin Hilman <khilman@ti.com>
Tue, 4 Oct 2011 16:52:23 +0000 (09:52 -0700)
commit4fcd15a032cec4b2684a32c86e895b50cdbee50c
tree21f86422ba269e5ddec5916fbd88bc294e9d7451
parentf718e2c034bf6ff872106344935006230764cb12
of: Add helpers to get one string in multiple strings property

Add of_property_read_string_index and of_property_count_strings
to retrieve one string inside a property that will contains
severals strings.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/of/base.c
include/linux/of.h