video: Adjust video_clear() to return an error
authorSimon Glass <sjg@chromium.org>
Mon, 1 Oct 2018 18:22:26 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Oct 2018 10:40:27 +0000 (04:40 -0600)
commitc6ebd011bb27750263e8dd62e33ed5cdd49dc88e
tree887cc94254faacf2e03884c80dfa24ce3b41ad59
parent25a3845d2b0f4808b5fb75f5e059f94b732b7ada
video: Adjust video_clear() to return an error

All driver-model operation should return an error code. Adjust this
function to do so also.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
drivers/video/video-uclass.c
include/video.h