video: Correct docs for video_index_to_colour()

This uses the private data of the video uclass, not the console uclass
(its child). Update the comment to avoid confusion.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: a032e4b55e ("video: Move console colours to the video uclass")
This commit is contained in:
Simon Glass 2023-06-01 10:22:44 -06:00 committed by Tom Rini
parent c98cb51252
commit 7ea207db2a

View File

@ -163,7 +163,7 @@ enum colour_idx {
* The caller has to guarantee that the color index is less than
* VID_COLOR_COUNT.
*
* @priv private data of the console device
* @priv private data of the video device (UCLASS_VIDEO)
* @idx color index
* Return: color value
*/