software node: simplify property_entry_read_string_array()
commit1afc14032e54a7e6c38304dc9a6bda1b6416f2b7
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 23 Oct 2019 20:02:27 +0000 (23 13:02 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 5 Nov 2019 22:18:10 +0000 (5 23:18 +0100)
tree08d966900e297a53f2c0b22cd2cbc02758e9b08f
parentdaeba9bf62e6d03667915899af48471cdf26fde4
software node: simplify property_entry_read_string_array()

There is no need to treat string arrays and single strings separately, we can go
exclusively by the element length in relation to data type size.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/swnode.c