dm: core: Use const where possible in device.h 84/233584/5
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jan 2020 15:49:36 +0000 (08:49 -0700)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Sat, 23 May 2020 05:38:32 +0000 (14:38 +0900)
commit8b6d35a41d96ba0ecdc30fe8b7a0892625fbb609
tree28f41c13493fb347aa0928248d97ef2209ce4903
parent2938fd674455ceeb155f4819ff03753743b78c15
dm: core: Use const where possible in device.h

Update this header file to use const devices where possible, to permit
callers to also use const.

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

[backport of mainline commit fc347fbdd44a01b1aba6283dec56c1374baca383]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Id883506ac5c20ae7898c576316b64e64a9a52c90
drivers/core/device.c
include/dm/device.h
include/dm/read.h