summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-07-03 11:15:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-06 12:34:22 +0200
commit3fc19644947a2ee50a1e5c54f9f813e2601c8af0 (patch)
tree3916b36269f081b460fa135b9e16c7627286bf0e /drivers/video
parent735c570e5ad87a562dd9a50208a087e105eaecf6 (diff)
downloadbarebox-3fc19644947a2ee50a1e5c54f9f813e2601c8af0.tar.gz
barebox-3fc19644947a2ee50a1e5c54f9f813e2601c8af0.tar.xz
video: stm: remove unnecessary info function
devinfo will show the information without the help of the driver anyway. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/stm.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/video/stm.c b/drivers/video/stm.c
index bf913f1ec6..abaaf5d049 100644
--- a/drivers/video/stm.c
+++ b/drivers/video/stm.c
@@ -453,17 +453,6 @@ static int stmfb_activate_var(struct fb_info *fb_info)
return 0;
}
-static void stmfb_info(struct device_d *hw_dev)
-{
- struct imx_fb_platformdata *pdata = hw_dev->platform_data;
- unsigned u;
-
- printf(" Supported video modes:\n");
- for (u = 0; u < pdata->mode_cnt; u++)
- printf(" - '%s': %u x %u\n", pdata->mode_list[u].name,
- pdata->mode_list[u].xres, pdata->mode_list[u].yres);
-}
-
/*
* There is only one video hardware instance available.
* It makes no sense to dynamically allocate this data
@@ -529,8 +518,6 @@ static int stmfb_probe(struct device_d *hw_dev)
fbi.info.modes.num_modes = modes->num_modes;
}
- hw_dev->info = stmfb_info;
-
ret = register_framebuffer(&fbi.info);
if (ret != 0) {
dev_err(hw_dev, "Failed to register framebuffer\n");