From patchwork Wed Dec 14 01:58:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 9473583 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D221260762 for ; Wed, 14 Dec 2016 01:58:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF03A286E2 for ; Wed, 14 Dec 2016 01:58:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AEDB8286E5; Wed, 14 Dec 2016 01:58:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4137D286E3 for ; Wed, 14 Dec 2016 01:58:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753296AbcLNB6x (ORCPT ); Tue, 13 Dec 2016 20:58:53 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:42262 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752936AbcLNB6s (ORCPT ); Tue, 13 Dec 2016 20:58:48 -0500 Received: from avalon.bb.dnainternet.fi (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id A3A8A2086B; Wed, 14 Dec 2016 02:57:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1481680642; bh=l/keFvsTWJSLUqqo05yC2OuQ6I8G7UYKnTytgzwFBVQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pazATXAKtjmFkTOJZFJMZb0iYan6NaChJ61dQG/WRUWGu4nT4ri+sJ0JnBqyndzbF XjjM6Qe3vePveV5LhFoz2X+FJw/xsMq91ewlkMjWjHyNy+xp6Ugmq26H4kvhaDfEQF 68IDjMHlaW7xm609k8j+BFp62MXWBqlws27dxjp8= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: linux-omap@vger.kernel.org, Tomi Valkeinen Subject: [PATCH/RFC 12/7] drm: omapdrm: Remove unused omapdss platform data fields Date: Wed, 14 Dec 2016 03:58:04 +0200 Message-Id: <1481680684-11585-5-git-send-email-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1481680684-11585-1-git-send-email-laurent.pinchart@ideasonboard.com> References: <1481672306-22564-1-git-send-email-laurent.pinchart@ideasonboard.com> <1481680684-11585-1-git-send-email-laurent.pinchart@ideasonboard.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The omapdss platform data callbacks and the default display name fields are unused. Remove them. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/dss/core.c | 2 -- include/linux/platform_data/omapdss.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/core.c b/drivers/gpu/drm/omapdrm/dss/core.c index 5dfb79c02ab3..a2c04e327700 100644 --- a/drivers/gpu/drm/omapdrm/dss/core.c +++ b/drivers/gpu/drm/omapdrm/dss/core.c @@ -178,8 +178,6 @@ static int __init omap_dss_probe(struct platform_device *pdev) if (def_disp_name) core.default_display_name = def_disp_name; - else if (pdata->default_display_name) - core.default_display_name = pdata->default_display_name; return 0; diff --git a/include/linux/platform_data/omapdss.h b/include/linux/platform_data/omapdss.h index e71bb1d1b7ba..94605c079b80 100644 --- a/include/linux/platform_data/omapdss.h +++ b/include/linux/platform_data/omapdss.h @@ -27,10 +27,6 @@ enum omapdss_version { /* Board specific data */ struct omap_dss_board_info { - const char *default_display_name; - int (*dsi_enable_pads)(int dsi_id, unsigned int lane_mask); - void (*dsi_disable_pads)(int dsi_id, unsigned int lane_mask); - int (*set_min_bus_tput)(struct device *dev, unsigned long r); enum omapdss_version version; u32 omaprev; };