]> git.baikalelectronics.ru Git - uboot.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)
commit287d9a70e4276775dde565c18149e96abb6e33bb
tree505f3cf5ab861ff1c84ee9172590fdb123209a96
parente53a6fdd9523870443138f36fcbcab842fab0f64
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