]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: ofnode: simplify ofnode_read_bool()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 22 Jun 2017 07:54:07 +0000 (16:54 +0900)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:20 +0000 (10:08 -0600)
commitb2ec7ea731a1300fc3b888d9efa870fb4dafda79
treeb017e93d09d9f577658be4591c44a3d77fe71e1d
parent61e51babdb674e4619165cdc180786af7ec75ae9
dm: ofnode: simplify ofnode_read_bool()

Reuse ofnode_get_property() to simplify the implementation.

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