gma500: medfield: drop a bit of dead code
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 8 Mar 2012 16:03:04 +0000 (16:03 +0000)
committerDave Airlie <airlied@redhat.com>
Sat, 10 Mar 2012 13:05:52 +0000 (13:05 +0000)
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/mdfld_dsi_output.c
drivers/gpu/drm/gma500/mdfld_dsi_output.h

index 88d330d95f2c904175f821773ef1f15397c2790e..4c2cb4a8ad985624f1e706cbc0b4ae7f29652fd6 100644 (file)
@@ -205,17 +205,6 @@ int mdfld_dsi_get_power_mode(struct mdfld_dsi_config *dsi_config, u32 *mode,
        return mdfld_dsi_get_panel_status(dsi_config, 0x0a, mode, hs);
 }
 
-int mdfld_dsi_get_diagnostic_result(struct mdfld_dsi_config *dsi_config,
-                               u32 *result, bool hs)
-{
-       if (!dsi_config || !result) {
-               DRM_ERROR("Invalid parameter\n");
-               return -EINVAL;
-       }
-
-       return mdfld_dsi_get_panel_status(dsi_config, 0x0f, result, hs);
-}
-
 /*
  * NOTE: this function was used by OSPM.
  * TODO: will be removed later, should work out display interfaces for OSPM
index 8e4f717e50f2d666db78b6661d08bb59ec1fe30b..21071cef92a4c60a7791969cd63771855fac4540 100644 (file)
@@ -227,14 +227,6 @@ enum {
 #define DSI_DPI_COMPLETE_LAST_LINE                     BIT(2)
 #define DSI_DPI_DISABLE_BTA                                    BIT(3)
 
-struct mdfld_dsi_connector_state {
-       u32 mipi_ctrl_reg;
-};
-
-struct mdfld_dsi_encoder_state {
-
-};
-
 struct mdfld_dsi_connector {
        struct psb_intel_connector base;
 
@@ -381,8 +373,6 @@ extern void mdfld_dsi_controller_init(struct mdfld_dsi_config *dsi_config,
 
 extern int mdfld_dsi_get_power_mode(struct mdfld_dsi_config *dsi_config,
                                        u32 *mode, bool hs);
-extern int mdfld_dsi_get_diagnostic_result(struct mdfld_dsi_config *dsi_config,
-                                       u32 *result, bool hs);
 extern int mdfld_dsi_panel_reset(int pipe);
 
 #endif /*__MDFLD_DSI_OUTPUT_H__*/