summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-08-24 11:51:19 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-10-05 13:51:12 +0200
commit6fb511fa62efe3faa8be67800cd934c143405fca (patch)
tree19d734343702b2f26e728f044eb33589851cb60d /drivers/video
parentb56b3e5b4b6c66ad02905c4b35a90de557c1dc19 (diff)
downloadbarebox-6fb511fa62efe3faa8be67800cd934c143405fca.tar.gz
barebox-6fb511fa62efe3faa8be67800cd934c143405fca.tar.xz
video: simplefb-client: make probe less verbose
Printing the framebuffer base is unnecessary because it's already contained in the dev_printf prefix. Make the message shorter and only print it on success. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210824095119.15907-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/simplefb-client.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/video/simplefb-client.c b/drivers/video/simplefb-client.c
index e1f241d4d8..2367713ba4 100644
--- a/drivers/video/simplefb-client.c
+++ b/drivers/video/simplefb-client.c
@@ -122,9 +122,6 @@ static int simplefb_probe(struct device_d *dev)
info->fbops = &simplefb_ops;
- dev_info(dev, "framebuffer at 0x%p, 0x%lx bytes\n",
- info->screen_base, info->screen_size);
-
info->dev.parent = dev;
ret = register_framebuffer(info);
if (ret < 0) {
@@ -132,7 +129,7 @@ static int simplefb_probe(struct device_d *dev)
return ret;
}
- dev_info(dev, "simplefb registered!\n");
+ dev_info(dev, "size %s registered\n", size_human_readable(info->screen_size));
return 0;
}