From patchwork Wed Mar 8 16:55:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 66376 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp457625wrd; Wed, 8 Mar 2023 09:12:51 -0800 (PST) X-Google-Smtp-Source: AK7set9JXWtjF6sWDla72aRkriHQGAHfbNtRYA2c27G7GXzpiMrKGS8OGUSVf2xcDfpGFlKSOrFJ X-Received: by 2002:a05:6a20:548a:b0:cc:d891:b2b1 with SMTP id i10-20020a056a20548a00b000ccd891b2b1mr24618002pzk.35.1678295571059; Wed, 08 Mar 2023 09:12:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678295571; cv=none; d=google.com; s=arc-20160816; b=IZvhHhkfkpvWcslNIdsE/E9fu0qfuTDM65eANMXemQHrVRwp7slxCclp6mFiJVxWgw ZfYCXjaTde5j7hll/KDJlEjozTMHMfVA6pj8Q9zg3ezzW0Uvt3Cy1camjNqZpRrfiScy gDi+2p45JmebpKmI01kv13E9zLwZBgtlCWKcNq+XNTUeElXLkLUwuDpa4ayqzPM5YoIq Exu+3B6FhalW3oY41XZaT1CKonBwH+f57rd8hrCF6Xc8B8ik0eUm4K8kcLCSBpJNnEbL HktrWPtUQN0XPyjQx1Xq7DJkh1CLgRAp69/XVymwdI18ICm74m1r2jFu6RT0WRENfsmf w6Yw== 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=exiGXwmuygMD+3HWg5M0RUcyVcnJmUt378ddXLqTsUPdk4RV+3hYQZW6WXuCqkzoMx sSKYvr3KjDCSDBjZ53CoBK8OqHu0sV7raCU5N4+GU+cpAqCdfgGzME64M3XqgWbBD/oU UBRHj+0+oNWZ8eVfcCInGk1iwsT1hU5cw9EQ6kDFz/eASuP6f/IuxDUEVgsMVxYRy/vn s9rUhWs+Y9pIAvNwbg/uOwWMkfaWNO7rTojUZcpf4yLhxDMOsdLP2ICP4YcA7EkM3mox oLFsXBGpkkOFBhRaZHusvysdJwa8hLeseMwFXe4hiGzpTHt0gjtfxe6i/RR3IbKVFRmd TsfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hJApcFGk; 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 w4-20020a656944000000b005002c94ff28si13794993pgq.495.2023.03.08.09.12.34; Wed, 08 Mar 2023 09:12:51 -0800 (PST) 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=hJApcFGk; 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 S229825AbjCHQ7h (ORCPT + 99 others); Wed, 8 Mar 2023 11:59:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230093AbjCHQ7F (ORCPT ); Wed, 8 Mar 2023 11:59:05 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D224CC306; Wed, 8 Mar 2023 08:57:47 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 328Gtwax018211; Wed, 8 Mar 2023 10:55:58 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1678294558; bh=4hxkiIkDEsrqNH3DFrHY3y6iLBIDRC+fqBtSL4tX3e8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=hJApcFGkkJqN+kuvOAVViVUfzwXTipRS7Yl8jYPyKkMzZaA5bWgZdoQq06aMi1q/q LBuznode0gDb4Bfmkm965nixXKxd2XdhOyUPp7WnqRGkFv/bKdnLSDgP/k3XBOTEC1 8Q81TaYefEd73xyL6HrBmHs5qYFk7tYuSN3oratM= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 328Gtwib018231 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 8 Mar 2023 10:55:58 -0600 Received: from DFLE106.ent.ti.com (10.64.6.27) 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.16; Wed, 8 Mar 2023 10:55:58 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Wed, 8 Mar 2023 10:55:58 -0600 Received: from ula0226330.dal.design.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 328Gtvar014057; Wed, 8 Mar 2023 10:55:58 -0600 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 v6 9/9] ARM: nspire: Remove unused header file mmio.h Date: Wed, 8 Mar 2023 10:55:56 -0600 Message-ID: <20230308165557.2242-10-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230308165557.2242-1-afd@ti.com> References: <20230308165557.2242-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,URIBL_BLOCKED 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?1759820456640194180?= X-GMAIL-MSGID: =?utf-8?q?1759820456640194180?= 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",