dm: core: Use const device for the dev_read_...() interface
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jan 2020 15:49:40 +0000 (08:49 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:45 +0000 (19:33 -0700)
commit88b3a37eaab4004cd3d26976dc3ee875bdba0b63
treed67e1bad2129a6588659f623457dcbbfa6381e06
parentd975ce21ce92b2b0c6d13b0a8b5b4d78bfd37113
dm: core: Use const device for the dev_read_...() 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/read.c
include/dm/read.h