Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp2890547pxy; Sun, 25 Apr 2021 07:22:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7KRVhh5NRry7oMTkKbgrNtCEOvw22CZmmJ6Wyjgd18pSf0F22P/r50kuPLx4TfABU8+ym X-Received: by 2002:a17:90a:c404:: with SMTP id i4mr17017930pjt.10.1619360577813; Sun, 25 Apr 2021 07:22:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619360577; cv=none; d=google.com; s=arc-20160816; b=Kg7pbMqfD+bDgPacQA4OPqYIBNuFFntOOzv4XcNrhLnKFC/IqneBgP0Gzb0vpQqEuh 4BZGtQ/AX80IJLETNXcZkZesDxOXviXWHDOY7a3E1t/Gu/gYeCszjTn+54o0VyN7ay54 i74d3v7vbXsuIG2TSWim0MEE1SdegARSD3WmwpoRFbGH6UVxcKth8XQsIGaptasFHxuI 4EtrXiPqSGtugHBs1JDeTd6gHKkkjgC9ApbLEsR7zO37Njt+c7IHWzQoHSerkjltMI9e Frc5IxxBstTYV3p60SrZHFnD42rhC5+QM8b5UB0aTp/v5X0ICyY/bebiGyhx27pEr6o2 1mFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=+BEJKrjoCB0Pc9xZ9FrsP955BwTzO6grC2V0XszkgtQ=; b=rMoh1HaaPQeiBJzyE7dWEQ+bwVnjpNQrTzbuxtBLPErCZNHimPHOTtW039V/rUJXGW paaXP+7CFwseT9tbBoPZqAalzWnsbbw+seHyy/du184RMyQhafZogpNJPyaxf5HMNTsr YIhgu/DOrPlqPcBuwTjNwRL8EHQ4UiIBGDk+eL4BDQv8VWOffuvTdloJcQZ5fplbfC7w Obbo0Q9rUhGikE83SBHpNZ5r4i4Oqyag5CV75//18bvrnEVlfiNRs22b/ZqkhLS9ZMkk k+k5KdnlIk7ZZHWUHfnm2y9IJH1XKB5hK9aL4qmZ09pkNbZ8pFDgc/XyLpAZcHtNb8ck JaRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@libero.it header.s=s2021 header.b="v/CJsO43"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=libero.it Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y128si14114476pfb.155.2021.04.25.07.22.45; Sun, 25 Apr 2021 07:22:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@libero.it header.s=s2021 header.b="v/CJsO43"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=libero.it Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230194AbhDYOW5 (ORCPT + 99 others); Sun, 25 Apr 2021 10:22:57 -0400 Received: from smtp-35-i2.italiaonline.it ([213.209.12.35]:41902 "EHLO libero.it" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229906AbhDYOW4 (ORCPT ); Sun, 25 Apr 2021 10:22:56 -0400 Received: from passgat-Modern-14-A10M.homenet.telecomitalia.it ([95.244.94.151]) by smtp-35.iol.local with ESMTPA id afeElXy75pK9wafeHlb5Pb; Sun, 25 Apr 2021 16:22:14 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1619360535; bh=+BEJKrjoCB0Pc9xZ9FrsP955BwTzO6grC2V0XszkgtQ=; h=From; b=v/CJsO43VNnqvtMyXZCljJHgKOwhkZ0oKG/doSfZe6XbbpsqgJoD74Rcvsy+4jE0L oBygSLyfY6ziRqqgfpXls0gqxKoaa2KrByQ0lIcrx/7snSv0IUuv8SSMaddwwBM5JJ aH6ojD87htGmR23sBot4moUAoSTDg7EA5aA4RnZ8H7SNR2uNMvkoaGh+EPv8O+ajvc tF/wtwfc178j4R8ie5c5rT8GVKqUR9iKeugL3PP9Az0LG2wrkXZdr3hisxcTu36fUa MDND5pwd95EzRkcDzfhXc/1rr4s92RbUUxxYx0V5XFdzRiOX3QHuSqRFsyT4XjpjCN NHCIn/NZ+eqEQ== X-CNFS-Analysis: v=2.4 cv=A9ipg4aG c=1 sm=1 tr=0 ts=60857b17 cx=a_exe a=ugxisoNCKEotYwafST++Mw==:117 a=ugxisoNCKEotYwafST++Mw==:17 a=E4scLkpOueEFzuNnOYYA:9 From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Dario Binacchi , Russell King , Tony Lindgren , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org Subject: [RESEND PATCH] ARM: OMAP2+: CM: remove omap2_set_globals_cm() Date: Sun, 25 Apr 2021 16:22:08 +0200 Message-Id: <20210425142208.20159-1-dariobin@libero.it> X-Mailer: git-send-email 2.17.1 X-CMAE-Envelope: MS4xfPOiWRwNiiCrlWz94Tm0Gpby2Ynopx6Ri3QPYZG5GCHkOQ0OcdYGXDGg9LrMvH7Ho9t59JCHHvQMqo27F9TvSepaX1hjpF2coWo9p0mCa1Vbj7rtQypg WtI6aAQodOllMus8JtF6GLKjmmAZOk6h2GEDRkN/4pcjLrq3Ue4qbYHnRno1zFlMbC+ljRQAgUcCsOKPSxZnh51shPfEg9O5qaqzGoKxNEytLaaQNsoTjqBg e5YPk1Z+J+N3NQ4EFy7fSEtQYeM5Ss3+OP1G7Gux4yyjGLZPPMouwa/yXBW4kChIQvbDdAkPKaI17vlz3wNkkndyiKmUN5XJXWqgmQILPqeKJ5MIQMgTUp5A EvLGxuEIFGcc5eeBAt2dLSe2MLfXba2kwrKR9MOV1N9BgEu6wlBvX8MZBNAAeW6WjRd6aB+5 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function is no longer used, so let's remove it. Signed-off-by: Dario Binacchi --- arch/arm/mach-omap2/cm.h | 1 - arch/arm/mach-omap2/cm_common.c | 13 ------------- 2 files changed, 14 deletions(-) diff --git a/arch/arm/mach-omap2/cm.h b/arch/arm/mach-omap2/cm.h index d02fe63dab59..14beb59e5f7b 100644 --- a/arch/arm/mach-omap2/cm.h +++ b/arch/arm/mach-omap2/cm.h @@ -26,7 +26,6 @@ extern struct omap_domain_base cm_base; extern struct omap_domain_base cm2_base; -extern void omap2_set_globals_cm(void __iomem *cm, void __iomem *cm2); # endif /* diff --git a/arch/arm/mach-omap2/cm_common.c b/arch/arm/mach-omap2/cm_common.c index b7ea609386d5..e2d069fe67f1 100644 --- a/arch/arm/mach-omap2/cm_common.c +++ b/arch/arm/mach-omap2/cm_common.c @@ -37,19 +37,6 @@ struct omap_domain_base cm2_base; #define CM_NO_CLOCKS 0x1 #define CM_SINGLE_INSTANCE 0x2 -/** - * omap2_set_globals_cm - set the CM/CM2 base addresses (for early use) - * @cm: CM base virtual address - * @cm2: CM2 base virtual address (if present on the booted SoC) - * - * XXX Will be replaced when the PRM/CM drivers are completed. - */ -void __init omap2_set_globals_cm(void __iomem *cm, void __iomem *cm2) -{ - cm_base.va = cm; - cm2_base.va = cm2; -} - /** * cm_split_idlest_reg - split CM_IDLEST reg addr into its components * @idlest_reg: CM_IDLEST* virtual address -- 2.17.1