]> git.baikalelectronics.ru Git - uboot.git/commit
cros: Adjust board_get_cros_ec_dev() to return a udevice
authorSimon Glass <sjg@chromium.org>
Mon, 1 Oct 2018 18:22:23 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Oct 2018 10:40:27 +0000 (04:40 -0600)
commita5d567f6489f7e67a3a9680352e75655eab4c27a
tree1128a1d6df8dd4e624c1dd1524af955f955822a9
parenta3fd790f3e14481ee572de3a62cd67120716989d
cros: Adjust board_get_cros_ec_dev() to return a udevice

Rather than returning what is effectively an internal data structure,
return the cros EC device itself.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cros_ec.c
include/cros_ec.h