]> git.baikalelectronics.ru Git - uboot.git/commit
dm: ofnode: simplify ofnode_read_prop()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 22 Jun 2017 07:54:04 +0000 (16:54 +0900)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:20 +0000 (10:08 -0600)
commit12b583bb5b2c63b6e4e5dab1654685ba89538c51
tree7914861c6700b3dd883f6dbc95da40c29c8e6104
parent6f0c0240e85ad0c32817e64a76c45f61fd82c290
dm: ofnode: simplify ofnode_read_prop()

The code inside the if-block is the same as of_get_property().

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