]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/omap/lcd_apollon.c
ARM: OMAP: Frambuffer driver CodingStyle changes.
[linux-2.6-omap-h63xx.git] / drivers / video / omap / lcd_apollon.c
index 30cec3e856f1a6e12eedbaf9c3961548b3f06fb5..179315f1a433c727a4940708fe2c36eeceb4b902 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * File: drivers/video/omap/lcd_apollon.c
- *
  * LCD panel support for the Samsung OMAP2 Apollon board
  *
  * Copyright (C) 2005,2006 Samsung Electronics
 #include <asm/arch/mux.h>
 #include <asm/arch/omapfb.h>
 
-/* #define OMAPFB_DBG 1 */
-
 /* #define USE_35INCH_LCD 1 */
 
-#include "debug.h"
-
-static int apollon_panel_init(struct omapfb_device *fbdev)
+static int apollon_panel_init(struct lcd_panel *panel,
+                               struct omapfb_device *fbdev)
 {
-       DBGENTER(1);
-       DBGLEAVE(1);
+       /* configure LCD PWR_EN */
+       omap_cfg_reg(M21_242X_GPIO11);
        return 0;
 }
 
-static void apollon_panel_cleanup(void)
+static void apollon_panel_cleanup(struct lcd_panel *panel)
 {
-       DBGENTER(1);
-       DBGLEAVE(1);
 }
 
-static int apollon_panel_enable(void)
+static int apollon_panel_enable(struct lcd_panel *panel)
 {
-
-       DBGENTER(1);
-
-       /* configure LCD PWR_EN */
-       omap_cfg_reg(M21_242X_GPIO11);
-
-       DBGLEAVE(1);
        return 0;
 }
 
-static void apollon_panel_disable(void)
+static void apollon_panel_disable(struct lcd_panel *panel)
 {
-       DBGENTER(1);
-       DBGLEAVE(1);
 }
 
-static unsigned long apollon_panel_get_caps(void)
+static unsigned long apollon_panel_get_caps(struct lcd_panel *panel)
 {
        return 0;
 }
@@ -109,26 +93,22 @@ struct lcd_panel apollon_panel = {
 
 static int apollon_panel_probe(struct platform_device *pdev)
 {
-       DBGENTER(1);
        omapfb_register_panel(&apollon_panel);
        return 0;
 }
 
 static int apollon_panel_remove(struct platform_device *pdev)
 {
-       DBGENTER(1);
        return 0;
 }
 
 static int apollon_panel_suspend(struct platform_device *pdev, pm_message_t mesg)
 {
-       DBGENTER(1);
        return 0;
 }
 
 static int apollon_panel_resume(struct platform_device *pdev)
 {
-       DBGENTER(1);
        return 0;
 }