From patchwork Wed Feb 13 14:07:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: archit taneja X-Patchwork-Id: 2136451 Return-Path: X-Original-To: patchwork-linux-omap@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 5979ADFE75 for ; Wed, 13 Feb 2013 14:08:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934066Ab3BMOI3 (ORCPT ); Wed, 13 Feb 2013 09:08:29 -0500 Received: from devils.ext.ti.com ([198.47.26.153]:55827 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934052Ab3BMOI2 (ORCPT ); Wed, 13 Feb 2013 09:08:28 -0500 Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id r1DE8R9v025574; Wed, 13 Feb 2013 08:08:27 -0600 Received: from DLEE74.ent.ti.com (dlee74.ent.ti.com [157.170.170.8]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r1DE8RRa024407; Wed, 13 Feb 2013 08:08:27 -0600 Received: from dlelxv23.itg.ti.com (172.17.1.198) by DLEE74.ent.ti.com (157.170.170.8) with Microsoft SMTP Server id 14.1.323.3; Wed, 13 Feb 2013 08:08:27 -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 r1DE8Roh014123; Wed, 13 Feb 2013 08:08:27 -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 r1DE8PV15695; Wed, 13 Feb 2013 08:08:26 -0600 (CST) From: Archit Taneja To: CC: , , Archit Taneja Subject: [PATCH 11/11] OMAPDSS: Remove max_backlight_level form omap_dss_device Date: Wed, 13 Feb 2013 19:37:14 +0530 Message-ID: <1360764434-18788-12-git-send-email-archit@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1360764434-18788-1-git-send-email-archit@ti.com> References: <1360764434-18788-1-git-send-email-archit@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org The maximum backlight level supported is a parameter which should come from the panel's platform data. Usage of max_backlight_level in omap_dss_device has been removed from all panel drivers. Remove it from the omap_dss_device struct. Signed-off-by: Archit Taneja --- include/video/omapdss.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/video/omapdss.h b/include/video/omapdss.h index ec68769..f0b65a5 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -631,8 +631,6 @@ struct omap_dss_device { int reset_gpio; - int max_backlight_level; - const char *name; /* used to match device to driver */