sandbox: cros_ec: exynos: Drop use of cros_ec_get_error()
authorSimon Glass <sjg@chromium.org>
Tue, 6 Nov 2018 22:21:26 +0000 (15:21 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Nov 2018 02:14:22 +0000 (19:14 -0700)
commita2a63a35b2ad6da434aaf8426f2902c6c3bc2352
tree2247fcc7750fcc4a1dac03564fc09af26e1817f7
parent566bf3a8698780079196da742c363ca3b627ca31
sandbox: cros_ec: exynos: Drop use of cros_ec_get_error()

This function is really just a call to uclass_get_device() and there is no
reason why the caller cannot do it. Update sandbox and snow accordingly.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/common/board.c
board/sandbox/sandbox.c
common/cros_ec.c