From patchwork Mon Oct 24 15:38:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13017717 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 01B63FA373F for ; Mon, 24 Oct 2022 15:39:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=5MCIk90AXJn3qMM5ElZOITEkhbn/Mk9k/u9mPYwP+SU=; b=PpRX3yQmBfPsZp R4kyQ4YZoZA7yFUDJRQyqn0q6QsNzJo1Hdz1KDRud8pBiw3KN8Tf02WDoSVnDtGIEc+rguH/HY0Ns 2H2XmADx+BgGW7lcOQVeI8OE/88+lYGZacRMuioMPxM+gr9bD3IRSQVduRZq3BN/J6MpC5ok/Xv3N UJezQB///5YkYW8zhZQ0BY38Z0vcBB2yTjiDuG2pNCMGDHIoPOAr8XN8fa5L9se2VCtpN/nVcQu8T e2LwwuoOuf/g1paDkH0h6oHnTM/btpJuQqfXgpW+V5eBcAVXBHAK0OQHFGRVM7IbbiydMOEHqR00X xPGG8925DMoxQKezh52Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1omzX7-0026mt-FB; Mon, 24 Oct 2022 15:38:33 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1omzX3-0026la-EX for linux-arm-kernel@lists.infradead.org; Mon, 24 Oct 2022 15:38:30 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 199096147B; Mon, 24 Oct 2022 15:38:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43859C433D6; Mon, 24 Oct 2022 15:38:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666625905; bh=BTjmI1O7Y0s3CyCTarlAy4q8fd3YY5qQOUFNKk5u7QM=; h=From:To:Cc:Subject:Date:From; b=pW9+KqGNotlAgjc2vDD76rpSNDPOBOxftgjGAaCVc77nje6eZCrR9Pl18Qv0S/3HL xlu+wdKiGxySQyuRvE/8Au+/zIowzwMiB6tRUbikS7AdzUXPQi+jNXW4nVAFQhzpOp NPXh5pHtmZOzobG00aY/TDliCe8rijkw0udEwqf/+IX8BfQZPkujtHd9mTbqxI1Kml wHjd6ct9gLIguIhAEtASSFArz7Tuo/zYRTWmQs1KrKfccFp3TG54BZhRvVKmMapAvb +e0O24sc1BJMGh0K/67Da8VL9wESagvo6FlRNNyvY6cnxqH3atQ52baNg1U//H3KNe 7SGctLjTBTQNQ== From: Arnd Bergmann To: Tony Lindgren , linux-omap@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: [PATCH 00/10] ARM: omap2: assorted cleanups Date: Mon, 24 Oct 2022 17:38:04 +0200 Message-Id: <20221024153814.254652-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_083829_606060_FBFE27D8 X-CRM114-Status: GOOD ( 15.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Arnd Bergmann While going through the removal of board files on some other platforms, I noticed a bit of outdated code on omap2+ that was left behind after the platform became DT only. I can put this into the same cleanup tree as the omap1 patches, or you can merge these into your omap2 tree if there are likely conflicts with other patches. Arnd Bergmann (10): ARM: omap2: remove unused USB code ARM: omap2: remove unused headers ARM: omap2: remove unused omap_hwmod_reset.c ARM: omap2: simplify clock2xxx header ARM: omap2: remove APLL control ARM: omap2: smartreflex: remove on_init control ARM: omap2: remove unused functions ARM: omap2: remove unused declarations ARM: omap2: remove unused omap2_pm_init ARM: omap2: make functions static arch/arm/mach-omap2/Makefile | 3 +- arch/arm/mach-omap2/board-n8x0.c | 2 +- arch/arm/mach-omap2/clkt2xxx_dpllcore.c | 1 + arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c | 14 +- arch/arm/mach-omap2/clock.c | 2 - arch/arm/mach-omap2/clock.h | 7 - arch/arm/mach-omap2/clock2xxx.h | 29 -- arch/arm/mach-omap2/clock3xxx.h | 21 -- arch/arm/mach-omap2/clockdomain.c | 44 +-- arch/arm/mach-omap2/clockdomain.h | 4 - arch/arm/mach-omap2/cm2xxx.c | 101 +----- arch/arm/mach-omap2/cm2xxx.h | 7 - arch/arm/mach-omap2/cm2xxx_3xxx.h | 5 - arch/arm/mach-omap2/common.h | 28 -- arch/arm/mach-omap2/control.c | 73 ---- arch/arm/mach-omap2/control.h | 5 - arch/arm/mach-omap2/id.c | 2 +- arch/arm/mach-omap2/id.h | 2 - arch/arm/mach-omap2/io.c | 21 +- arch/arm/mach-omap2/omap-secure.c | 7 +- arch/arm/mach-omap2/omap-secure.h | 3 - arch/arm/mach-omap2/omap_device.c | 74 +---- arch/arm/mach-omap2/omap_device.h | 14 - arch/arm/mach-omap2/omap_hwmod.c | 94 +----- arch/arm/mach-omap2/omap_hwmod.h | 21 -- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 1 - .../omap_hwmod_2xxx_3xxx_ipblock_data.c | 2 +- .../omap_hwmod_2xxx_interconnect_data.c | 1 - .../mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 12 +- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 1 - arch/arm/mach-omap2/omap_hwmod_common_data.h | 6 - arch/arm/mach-omap2/omap_hwmod_reset.c | 98 ------ arch/arm/mach-omap2/omap_opp_data.h | 5 - arch/arm/mach-omap2/omap_phy_internal.c | 87 ----- arch/arm/mach-omap2/pm.c | 8 +- arch/arm/mach-omap2/pm.h | 25 -- arch/arm/mach-omap2/pm24xx.c | 312 ------------------ arch/arm/mach-omap2/powerdomain.c | 108 +----- arch/arm/mach-omap2/powerdomain.h | 8 - arch/arm/mach-omap2/prcm-common.h | 1 - arch/arm/mach-omap2/prcm_mpu44xx.c | 12 - arch/arm/mach-omap2/prcm_mpu_44xx_54xx.h | 2 - arch/arm/mach-omap2/prm.h | 4 - arch/arm/mach-omap2/prm2xxx_3xxx.h | 3 - arch/arm/mach-omap2/prm3xxx.c | 5 +- arch/arm/mach-omap2/prm3xxx.h | 2 - arch/arm/mach-omap2/prm_common.c | 55 +-- arch/arm/mach-omap2/sdrc.c | 51 +-- arch/arm/mach-omap2/sdrc.h | 5 - arch/arm/mach-omap2/serial.h | 66 ---- arch/arm/mach-omap2/sr_device.c | 13 - arch/arm/mach-omap2/sram.h | 4 - arch/arm/mach-omap2/usb-tusb6010.c | 6 +- arch/arm/mach-omap2/usb.h | 71 ---- arch/arm/mach-omap2/vc.c | 15 - arch/arm/mach-omap2/voltage.c | 2 +- arch/arm/mach-omap2/voltage.h | 2 - drivers/soc/ti/smartreflex.c | 4 - include/linux/platform_data/voltage-omap.h | 1 - include/linux/power/smartreflex.h | 3 - include/linux/usb/musb.h | 2 - 61 files changed, 49 insertions(+), 1538 deletions(-) delete mode 100644 arch/arm/mach-omap2/clock3xxx.h delete mode 100644 arch/arm/mach-omap2/omap_hwmod_reset.c delete mode 100644 arch/arm/mach-omap2/pm24xx.c delete mode 100644 arch/arm/mach-omap2/serial.h delete mode 100644 arch/arm/mach-omap2/usb.h Acked-by: Tony Lindgren