[PATCH 05/21] dm: core: Use const device for the dev_read_...() interface

sjg at google.com sjg at google.com
Wed Feb 5 18:56:58 CET 2020


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 at chromium.org>
---

 drivers/core/read.c |  97 +++++++++++----------
 include/dm/read.h   | 205 +++++++++++++++++++++++---------------------
 2 files changed, 159 insertions(+), 143 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list