diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2017-03-28 14:26:22 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-03-29 22:59:40 +0200 |
commit | e48174779440c79ff5dd75f0e6b169d4e184262d (patch) | |
tree | faa22f4ebc9c0f797b583988fa174dcb3e257569 /drivers/virtio/virtio_pci_common.h | |
parent | device property: fwnode_property_read_string_array() returns nr of strings (diff) | |
download | linux-e48174779440c79ff5dd75f0e6b169d4e184262d.tar.xz linux-e48174779440c79ff5dd75f0e6b169d4e184262d.zip |
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>
Diffstat (limited to 'drivers/virtio/virtio_pci_common.h')
0 files changed, 0 insertions, 0 deletions