dm: core: Use const where possible in device.h
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jan 2020 15:49:36 +0000 (08:49 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:45 +0000 (19:33 -0700)
commitfc347fbdd44a01b1aba6283dec56c1374baca383
treedca9fbbe065e827cfd27d2e668b3a080436cea43
parentf5cc89a82a9990ba9805ff5800c0872b891533ce
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>
drivers/core/device.c
include/dm/device.h
include/dm/read.h