video: Use vidconsole_put_string() to write a string
authorSimon Glass <sjg@chromium.org>
Thu, 6 Oct 2022 14:36:05 +0000 (08:36 -0600)
committerAnatolij Gustschin <agust@denx.de>
Sun, 30 Oct 2022 08:56:02 +0000 (09:56 +0100)
commit92fd6a12206718948ba0f8f8bf1db89f6f73112c
tree8e397392f1774ea3b6c992da04c1ab7bd3d8abbc
parent6b6dc0d2fbf8b036d7ee278071036c7479074b32
video: Use vidconsole_put_string() to write a string

Use the existing function rather that duplicating the code. Also fix up
the missing error handling.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/vidconsole-uclass.c