From patchwork Wed Feb 13 14:22:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: archit taneja X-Patchwork-Id: 2137101 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id F3334DFE75 for ; Wed, 13 Feb 2013 14:24:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934045Ab3BMOYt (ORCPT ); Wed, 13 Feb 2013 09:24:49 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:40275 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934039Ab3BMOYs (ORCPT ); Wed, 13 Feb 2013 09:24:48 -0500 Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r1DEOlBV009894; Wed, 13 Feb 2013 08:24:48 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r1DEOlxb010472; Wed, 13 Feb 2013 08:24:47 -0600 Received: from dlelxv23.itg.ti.com (172.17.1.198) by dfle72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.1.323.3; Wed, 13 Feb 2013 08:24:47 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlelxv23.itg.ti.com (8.13.8/8.13.8) with ESMTP id r1DEOlAO024039; Wed, 13 Feb 2013 08:24:47 -0600 Received: from localhost (a0393947pc.apr.dhcp.ti.com [172.24.137.46]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id r1DEOkV16317; Wed, 13 Feb 2013 08:24:46 -0600 (CST) From: Archit Taneja To: CC: , , Archit Taneja Subject: [PATCH 31/33] OMAPDSS: remove platform_enable/disable callbacks from omap_dss_device Date: Wed, 13 Feb 2013 19:52:23 +0530 Message-ID: <1360765345-19312-32-git-send-email-archit@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1360765345-19312-1-git-send-email-archit@ti.com> References: <1360765345-19312-1-git-send-email-archit@ti.com> MIME-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org None of the omapdss panel drivers call platform_enable/disable callbacks, and none of the omap board files define these callbacks for any omap_dss_device. Hence these callbacks can be removed form the omap_dss_device struct. Signed-off-by: Archit Taneja --- include/video/omapdss.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/video/omapdss.h b/include/video/omapdss.h index f0b65a5..e1ebb48 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -650,10 +650,6 @@ struct omap_dss_device { enum omap_dss_display_state state; enum omap_dss_audio_state audio_state; - - /* platform specific */ - int (*platform_enable)(struct omap_dss_device *dssdev); - void (*platform_disable)(struct omap_dss_device *dssdev); }; struct omap_dss_hdmi_data