]> git.baikalelectronics.ru Git - uboot.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)
commit8bd46884395a4dcbba1bb4bdaa349ea5356f73a3
treeb017e93d09d9f577658be4591c44a3d77fe71e1d
parentfc515c44df073bbe090ff7ff5c0392a8a6cc9ed8
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