device property: Read strings using string array reading functions
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 28 Mar 2017 12:26:22 +0000 (15:26 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 29 Mar 2017 20:59:40 +0000 (22:59 +0200)
commite48174779440c79ff5dd75f0e6b169d4e184262d
treefaa22f4ebc9c0f797b583988fa174dcb3e257569
parentb0b027cee090a1e3278960e1c8257213fda40f10
device property: Read strings using string array reading functions

Always read strings using of_property_read_string_array() instead of
of_property_read_string(). This allows using a single operation struct
callback for accessing strings.

Same for pset_prop_read_string_array() and pset_prop_read_string().

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