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)
commit98306987659769607642474954b2bf9555808542
tree779abc4e47dd80c57d93b3538fa3a79f7fbba997
parentc3a194dec97be3ceb74ba2c980e635aee1644d94
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