dm: video: Cosmetic style fix

Some coding convention fixes for video_post_bind().

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>  # qemu-x86_64
This commit is contained in:
Bin Meng 2023-07-23 12:40:24 +08:00 committed by Anatolij Gustschin
parent 4e619e8d4f
commit 08ece5b3ec

View file

@ -626,10 +626,12 @@ static int video_post_bind(struct udevice *dev)
addr = uc_priv->video_ptr;
size = alloc_fb(dev, &addr);
if (addr < gd->video_bottom) {
/* Device tree node may need the 'bootph-all' or
/*
* Device tree node may need the 'bootph-all' or
* 'bootph-some-ram' tag
*/
printf("Video device '%s' cannot allocate frame buffer memory -ensure the device is set up before relocation\n",
printf("Video device '%s' cannot allocate frame buffer memory "
"- ensure the device is set up before relocation\n",
dev->name);
return -ENOSPC;
}