aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2023-07-23 12:40:24 +0800
committerAnatolij Gustschin <agust@denx.de>2023-08-01 13:28:59 +0200
commit08ece5b3ec6cd4210471d85f883b136d8847260d (patch)
tree5c795748bff76ec8e55bf504765a8d793252dfe8
parent4e619e8d4fd68095bc665a78f2651d8e478a4534 (diff)
downloadu-boot-08ece5b3ec6cd4210471d85f883b136d8847260d.zip
u-boot-08ece5b3ec6cd4210471d85f883b136d8847260d.tar.gz
u-boot-08ece5b3ec6cd4210471d85f883b136d8847260d.tar.bz2
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
-rw-r--r--drivers/video/video-uclass.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c
index 949595f..8f268fc 100644
--- a/drivers/video/video-uclass.c
+++ b/drivers/video/video-uclass.c
@@ -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;
}