]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: ofnode: change return type of dev_read_prop() to opaque pointer
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 17 Jul 2017 03:18:39 +0000 (12:18 +0900)
committerSimon Glass <sjg@chromium.org>
Fri, 28 Jul 2017 18:02:47 +0000 (12:02 -0600)
commitfd73621cba2c4b20e8a65e0b4c40c9026018e434
tree505f3cf5ab861ff1c84ee9172590fdb123209a96
parent00b26f7cdb28c2b21eb016f1b52126a428b5022b
dm: ofnode: change return type of dev_read_prop() to opaque pointer

DT property values can be strings as well as integers.  This is why
of_get_property/fdt_getprop returns an opaque pointer.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/core/read.c
include/dm/read.h