]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit9e26005daae79d8dc14be8d6e731c86094145a4e
treed67e1bad2129a6588659f623457dcbbfa6381e06
parent0644df17383ef7a0b6a3f5f5d4e63394603644cd
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