From patchwork Fri Nov 3 14:26:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 117909 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp3532941qgn; Fri, 3 Nov 2017 07:28:10 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RC4VVBbVsc/64Y3lJ4J7WEXpnCud3MUsNgEzjNntZxIrz+QkHn2AXO3S0G498tc7KcwAri X-Received: by 10.99.95.137 with SMTP id t131mr7350400pgb.330.1509719290340; Fri, 03 Nov 2017 07:28:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509719290; cv=none; d=google.com; s=arc-20160816; b=v0H73zzC2qCc52of29fgVNmwMJAo5tAf8uoThrSf+f3r1cn+LosP7OlYzn844YCNtL L+G8lVzx2ynshlM80Rp7tvzhpDDDleC8iPVvPNUgV1DXYvJEsK0/PXvOgKgoqIhFUqaL dMf96c1fmGft7IS/WcTu973ud1Kmo6GGe/s/ywussZAIn2tLA5v5UXJYRZ0DWnixygZZ OO5xTFr5q7JpAA4fiqQjV2nw8EnggzBW61JMLkFMGExC7xdy3p4euO7HiwOx6bs9i9K7 yYh6HV4PTW28Ey9pR5TrNiXDwLrHbkbOpEgBmk9CYSCz04Tw9FlLMxHood5m9Gj5Dw/V R2ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=1ccyPt7GPPKs0d+xeuzjH6iF9J6QhJRsJ2HUVYiFtng=; b=q24YbVkzl3PcpbobNdPyLpaUAJzH/vTlcGlERCaZKdPYEOtwapd94vh2XSwUkOtWbe 83FUq4eyubBI6nQbJlvP9+7OPGM0qQc4KGi4YmOD6VR7K0mZFmM14Qkvuer+lMmunoG+ wKENM41MII/aeE8/nPBRUrALPs/1+nNLUFeSp0mnCwbRGTDCXl1hyLJS0xX85hUaFR+9 ZpwUhfi2TLsEFZe4t6lZKNE0ioHxN2y4gTvQ79oVmI6PkUQDfq0m6iElaGGTi8PX4614 PBhJhw5F6Kw+0wrPpcALSUtfSifwOxz42QEYQoH3ZgL3SjL5jdA4dhH4hBuLi1nRwFiz SFXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=CbHh0Lkw; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t1si4866060plb.265.2017.11.03.07.28.10; Fri, 03 Nov 2017 07:28:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=CbHh0Lkw; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754684AbdKCO2I (ORCPT + 4 others); Fri, 3 Nov 2017 10:28:08 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:34544 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754609AbdKCO2G (ORCPT ); Fri, 3 Nov 2017 10:28:06 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id vA3ER69a024095; Fri, 3 Nov 2017 09:27:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1509719226; bh=gWEENPRJblQjwvJY8twrGcDycUItif5S72IJXUJtCGY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=CbHh0LkwR29B33+2CnkBTvtL4KdZ+w4qvyTdn0GDOneQPjI9Vr6+g+8tI+bFqJ2Xo EXpN2KR6+AvdmZNWZhSXSPrBH2vyoyDT5pWffwNVZFinv6q9F/SubFPficTLAsxafN IIyc3M9wD/A6jdkIcq/ukJwzzwhwM0+szhiD8yOo= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vA3ER161017585; Fri, 3 Nov 2017 09:27:01 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Fri, 3 Nov 2017 09:27:00 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Fri, 3 Nov 2017 09:27:00 -0500 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id vA3EQovw014982; Fri, 3 Nov 2017 09:26:59 -0500 From: Tero Kristo To: , CC: Subject: [PATCH 4/7] ARM: OMAP2+: clockdomain: remove the obsolete clkdm_xlate_address API Date: Fri, 3 Nov 2017 16:26:38 +0200 Message-ID: <1509719201-32700-5-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1509719201-32700-1-git-send-email-t-kristo@ti.com> References: <1509719201-32700-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org This is no longer used for anything so it can be dropped. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/clockdomain.c | 8 -------- arch/arm/mach-omap2/clockdomain.h | 2 -- 2 files changed, 10 deletions(-) -- 1.9.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/mach-omap2/clockdomain.c b/arch/arm/mach-omap2/clockdomain.c index 5189264..b79b1ca 100644 --- a/arch/arm/mach-omap2/clockdomain.c +++ b/arch/arm/mach-omap2/clockdomain.c @@ -1224,14 +1224,6 @@ int clkdm_clk_disable(struct clockdomain *clkdm, struct clk *clk) return 0; } -u32 clkdm_xlate_address(struct clockdomain *clkdm) -{ - if (arch_clkdm->clkdm_xlate_address) - return arch_clkdm->clkdm_xlate_address(clkdm); - - return 0; -} - /** * clkdm_hwmod_enable - add an enabled downstream hwmod to this clkdm * @clkdm: struct clockdomain * diff --git a/arch/arm/mach-omap2/clockdomain.h b/arch/arm/mach-omap2/clockdomain.h index 827f01e..24667a5 100644 --- a/arch/arm/mach-omap2/clockdomain.h +++ b/arch/arm/mach-omap2/clockdomain.h @@ -175,7 +175,6 @@ struct clkdm_ops { void (*clkdm_deny_idle)(struct clockdomain *clkdm); int (*clkdm_clk_enable)(struct clockdomain *clkdm); int (*clkdm_clk_disable)(struct clockdomain *clkdm); - u32 (*clkdm_xlate_address)(struct clockdomain *clkdm); }; int clkdm_register_platform_funcs(struct clkdm_ops *co); @@ -214,7 +213,6 @@ int clkdm_for_each(int (*fn)(struct clockdomain *clkdm, void *user), int clkdm_clk_disable(struct clockdomain *clkdm, struct clk *clk); int clkdm_hwmod_enable(struct clockdomain *clkdm, struct omap_hwmod *oh); int clkdm_hwmod_disable(struct clockdomain *clkdm, struct omap_hwmod *oh); -u32 clkdm_xlate_address(struct clockdomain *clkdm); extern void __init omap242x_clockdomains_init(void); extern void __init omap243x_clockdomains_init(void);