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)
commitcb7dbe1fb017f0a1ad050a9dc91ed2c10cb998e6
tree7914861c6700b3dd883f6dbc95da40c29c8e6104
parent252510ac69461c9fc7fa3ec25d655c6f56b0fa93
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