dm: core: Update some functions to use const
authorSimon Glass <sjg@chromium.org>
Mon, 1 Oct 2018 18:22:06 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Oct 2018 10:40:27 +0000 (04:40 -0600)
commit9f15cc14bf88a9ee8d7b1fbf607cde22923889d6
tree89cf490f1daa2154d0c0e1b386f64227f03de513
parentc7a3accc3f6a288ecbf9d62966792c93732060f2
dm: core: Update some functions to use const

Quite a few functions do not actually modify the device that is passed in.
Update the function signatures to reflect that.

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