dm: core: Use const device for the devfdt...() interface
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jan 2020 15:49:39 +0000 (08:49 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:45 +0000 (19:33 -0700)
commitd975ce21ce92b2b0c6d13b0a8b5b4d78bfd37113
tree48f5f8d14d0cd8646244d33b22bc0f3d7899ed8f
parent194fca91306f1a35da404a9c56d767be257c8b0f
dm: core: Use const device for the devfdt...() interface

These functions do not modify the device so should use a const pointer to
it. Update the code accordingly.

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