]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Drop the const from ofnode
authorSimon Glass <sjg@chromium.org>
Wed, 7 Sep 2022 02:27:04 +0000 (20:27 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 29 Sep 2022 20:07:58 +0000 (16:07 -0400)
commit2d41b855f4eee7d79a4b1e6cca1962f835193464
tree779abc4e47dd80c57d93b3538fa3a79f7fbba997
parent1174c213b71f8bd4fb876036c11db33e7eb7b414
dm: core: Drop the const from ofnode

Now that we support writing to ofnodes, the const is not accurate. Drop
it to avoid undesirable casting.

Also drop the ofnode_to_npw() which is now the same as ofnode_to_np().

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/ofnode.c
include/dm/ofnode.h
include/dm/ofnode_decl.h