From patchwork Mon May 15 19:13:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 94315 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp7151446vqo; Mon, 15 May 2023 12:44:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7rZ+nkbmujtHdETZI7WTj4DpcpCiFo24M3RaXUXPh5i2yLDmedhK19HVxzVpm8mbp9PeDY X-Received: by 2002:a05:6a20:6a2b:b0:105:6d0e:c046 with SMTP id p43-20020a056a206a2b00b001056d0ec046mr8251771pzk.26.1684179851956; Mon, 15 May 2023 12:44:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684179851; cv=none; d=google.com; s=arc-20160816; b=uvJBWVu0Wd1wbD/g5nvdpLbgDunCKjy3S93DTTDDT0bFk30lk3cTdHrlzFf+Xh9HKY RGvssIqttquvTotxWvhOUiFVu1KLTnSPxz+qdX2kVMABj86CPKOxMd8DkqpvTV0QkIfd KP01y9dNbdwgGS4fGxMJ7xmV3zUy9VrjMSTB+pF2r7s2UssQneDbhGpnQeK4vfhGH1ii qy/lTC+yWs6MUapugQ47cxXzKs1dB09y1wYsMcpcWx4W0w5ycq7PpGtD2PGht4fDSRq7 ffvZUA+PbhPddG47YiDghC1ecEFVM6OOIbJVcur/4Br2uA9aLACReoYD0IVab47Lf43I vYlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4hxkiIkDEsrqNH3DFrHY3y6iLBIDRC+fqBtSL4tX3e8=; b=Qpc8C/RGvEBS+NgssLjWALfYVhWCBrHH1GDp7vR+clZyM4LeEEK0hO14h/q3m+yt3w L+Ogl0z3AbpdMjPBLC//ZiaFMxdrA4Pm3os+lM0uDOWXpuXOPrpITQpCNEnJOff1gcKc H5DMZJRum/e+ZQi9fOqEUQ22l5G6T2/bS5qs1YsUVPoj1WxMhcqi+9HmSMRQdW98XNgB dDU1PabEob3360dUS1sRBIdIAKDg3ikA3Ns8ONY2pxR7v0MabxSYWIy4VyFtDBIyRWJY ZDG0NEFYgX/RBEVWqIGeHmnyh5Fnk5PLe3xCIxNVPJMM6br63l/zKNG1eyAPVLlNOc2Q OGdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=J+Naiy+j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c136-20020a63358e000000b0051f0d0d6359si16614947pga.118.2023.05.15.12.43.51; Mon, 15 May 2023 12:44:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=J+Naiy+j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244989AbjEOTOh (ORCPT + 99 others); Mon, 15 May 2023 15:14:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244625AbjEOTN7 (ORCPT ); Mon, 15 May 2023 15:13:59 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 128FF15EE0; Mon, 15 May 2023 12:13:49 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 34FJDZ50089416; Mon, 15 May 2023 14:13:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1684178015; bh=4hxkiIkDEsrqNH3DFrHY3y6iLBIDRC+fqBtSL4tX3e8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=J+Naiy+j7cPXf1JmfLwF2nGyyKBIosKvbxS9kinUNpkW1EmGQJ4COvRFAxcBgASTj NnJr3Ao5o9lOF1Fepd5binBTaIXr5JtuCJ4ztCr0xWMlsrg/DOvDoOCIXRKn1sjjqg vRsIoRhMT0XCmgaiGIpStaRLcMV8C6O8m/BmehNE= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34FJDZ5K017859 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 15 May 2023 14:13:35 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 15 May 2023 14:13:35 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 15 May 2023 14:13:35 -0500 Received: from lelv0327.itg.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 34FJDSKD005699; Mon, 15 May 2023 14:13:34 -0500 From: Andrew Davis To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Linus Walleij , Geert Uytterhoeven , Daniel Tang , Fabian Vogt CC: , , , Andrew Davis Subject: [PATCH v7 9/9] ARM: nspire: Remove unused header file mmio.h Date: Mon, 15 May 2023 14:13:26 -0500 Message-ID: <20230515191326.608638-10-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230515191326.608638-1-afd@ti.com> References: <20230515191326.608638-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765990572370221029?= X-GMAIL-MSGID: =?utf-8?q?1765990572370221029?= The Nspire boardfile platform drivers have all been converted. None of the definitions in this header are used anymore. Remove it. While here lets remove all the other unused headers and the file name from in the file itself. Signed-off-by: Andrew Davis --- arch/arm/mach-nspire/mmio.h | 13 ------------- arch/arm/mach-nspire/nspire.c | 14 -------------- 2 files changed, 27 deletions(-) delete mode 100644 arch/arm/mach-nspire/mmio.h diff --git a/arch/arm/mach-nspire/mmio.h b/arch/arm/mach-nspire/mmio.h deleted file mode 100644 index 2ce0656139ec..000000000000 --- a/arch/arm/mach-nspire/mmio.h +++ /dev/null @@ -1,13 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/mach-nspire/mmio.h - * - * Copyright (C) 2013 Daniel Tang - */ - -#define NSPIRE_PWR_PHYS_BASE 0x900B0000 -#define NSPIRE_PWR_VIRT_BASE 0xFEEB0000 -#define NSPIRE_PWR_BUS_DISABLE1 0x18 -#define NSPIRE_PWR_BUS_DISABLE2 0x20 - -#define NSPIRE_LCD_PHYS_BASE 0xC0000000 diff --git a/arch/arm/mach-nspire/nspire.c b/arch/arm/mach-nspire/nspire.c index 1e13337972dd..2fbfc23237ff 100644 --- a/arch/arm/mach-nspire/nspire.c +++ b/arch/arm/mach-nspire/nspire.c @@ -1,23 +1,9 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * linux/arch/arm/mach-nspire/nspire.c - * * Copyright (C) 2013 Daniel Tang */ -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include - -#include "mmio.h" static const char *const nspire_dt_match[] __initconst = { "ti,nspire",