From patchwork Wed Dec 14 01:58:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 9473585 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 07C3560762 for ; Wed, 14 Dec 2016 01:59:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC330286E6 for ; Wed, 14 Dec 2016 01:59:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DC9E0286E7; Wed, 14 Dec 2016 01:59:14 +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 690E9286E3 for ; Wed, 14 Dec 2016 01:59:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754718AbcLNB7B (ORCPT ); Tue, 13 Dec 2016 20:59:01 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:42263 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754701AbcLNB6s (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 498622085D; 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=r9W+KSn+X9f1nZsuNvvo0irAU43CyxNegiZ7LJjg1BY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=koDY+qxaXVZnO/xQ672f4OsBtyczqWKvhEJpn7syUDkva+oD0YzhmWBa2u34Tn9Qa 6rg/C5cd9BTtlBmz7JWmuha+wUHfpbY98lQcXYcIscRse+KnGbYC1Lz4y6SqXBTQhH yX1GvIhiAcsUMsCCREwbhe7kwmo2pmNUzsj21L1o= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: linux-omap@vger.kernel.org, Tomi Valkeinen Subject: [PATCH/RFC 11/7] ARM: OMAP2+: Remove omapdss set_min_bus_tput platform data callback Date: Wed, 14 Dec 2016 03:58:03 +0200 Message-Id: <1481680684-11585-4-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 set_min_bus_tput platform data callback is unused. Remove it. Signed-off-by: Laurent Pinchart --- arch/arm/mach-omap2/display.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 5bb5f848a25a..570e48c11568 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c @@ -30,7 +30,6 @@ #include #include "omap_hwmod.h" #include "omap_device.h" -#include "omap-pm.h" #include "common.h" #include "soc.h" @@ -72,11 +71,6 @@ static struct platform_device omap_display_device = { }, }; -static int omap_dss_set_min_bus_tput(struct device *dev, unsigned long tput) -{ - return omap_pm_set_min_bus_tput(dev, OCP_INITIATOR_AGENT, tput); -} - static enum omapdss_version __init omap_display_get_version(void) { if (cpu_is_omap24xx()) @@ -286,9 +280,7 @@ int __init omapdss_init_of(void) struct device_node *node; struct platform_device *pdev; - static struct omap_dss_board_info board_data = { - .set_min_bus_tput = omap_dss_set_min_bus_tput, - }; + static struct omap_dss_board_info board_data = { 0 }; /* only create dss helper devices if dss is enabled in the .dts */