]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: video: Cosmetic style fix
authorBin Meng <bmeng@tinylab.org>
Sun, 23 Jul 2023 04:40:24 +0000 (12:40 +0800)
committerAnatolij Gustschin <agust@denx.de>
Tue, 1 Aug 2023 11:28:59 +0000 (13:28 +0200)
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
drivers/video/video-uclass.c

index 949595f1bc69b2d0bccd4f013f969129ee0988fa..8f268fc4063f89e4d2d3260cc81d235244cc1172 100644 (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;
        }