mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/9] video: stm: remove unnecessary info function
@ 2015-07-06 10:36 Sascha Hauer
  2015-07-06 10:36 ` [PATCH 2/9] video: stm: copy platform_data to driver data Sascha Hauer
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Sascha Hauer @ 2015-07-06 10:36 UTC (permalink / raw)
  To: Barebox List

devinfo will show the information without the help of the driver anyway.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/video/stm.c | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/drivers/video/stm.c b/drivers/video/stm.c
index bf913f1..abaaf5d 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");
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-07-06 10:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-06 10:36 [PATCH 1/9] video: stm: remove unnecessary info function Sascha Hauer
2015-07-06 10:36 ` [PATCH 2/9] video: stm: copy platform_data to driver data Sascha Hauer
2015-07-06 10:36 ` [PATCH 3/9] video: stm: code buswidth in platform data as decimal Sascha Hauer
2015-07-06 10:36 ` [PATCH 4/9] video: stm: use uncached memory Sascha Hauer
2015-07-06 10:36 ` [PATCH 5/9] video: stm: read interface width from device tree Sascha Hauer
2015-07-06 10:36 ` [PATCH 6/9] video: stm: read bits-per-pixel " Sascha Hauer
2015-07-06 10:36 ` [PATCH 7/9] video: stm: honor display_flags Sascha Hauer
2015-07-06 10:36 ` [PATCH 8/9] video: Add generic fixup handler to reserve fb memory Sascha Hauer
2015-07-06 10:36 ` [PATCH 9/9] video: stm: reserve framebuffer memory for Linux Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox