]> git.ipfire.org Git - people/ms/u-boot.git/commit
dm: core: Add functions to get strings and the string count from a stringlist
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 21 Sep 2017 15:03:09 +0000 (17:03 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 22 Sep 2017 14:23:54 +0000 (23:23 +0900)
commitb5a144a5014be5e3b065e2061a7d17e653d739ae
tree159e5c65330d4e5cfff935a50d6030937545dcc8
parentb24633df31de1b376b7d8fff46540f45d5a352df
dm: core: Add functions to get strings and the string count from a stringlist

dev_read_string_count() is used to get the number of strings in a
stringlist.
dev_read_string_index() is used to get a string in the stringlist based on
its position in the list.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/core/read.c
include/dm/read.h