]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: core: Use device_property_string_array_count()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 2 Feb 2022 18:23:25 +0000 (20:23 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 11 Feb 2022 18:54:21 +0000 (19:54 +0100)
commit6b98bc267d9266df417ad47d46e0380e5bb917cb
tree6728be18a4b5bfd1210a9a9a81288866597a80af
parentb95ef5b0eed7adcfafb7248cbd72cc6ca62c760d
power: supply: core: Use device_property_string_array_count()

Use device_property_string_array_count() to get number of strings
in a string array property.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/power_supply_core.c