From patchwork Wed Oct 26 16:13:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 11325 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp359688wru; Wed, 26 Oct 2022 09:14:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7VN3zi4mKsRNPDfL27B4kmg3HgWWUZwWEWodPP3zgrIAsvaEtZNkz1N/FhZdFy5PqluaC1 X-Received: by 2002:a17:907:74a:b0:77e:9455:b4e1 with SMTP id xc10-20020a170907074a00b0077e9455b4e1mr39178109ejb.462.1666800871578; Wed, 26 Oct 2022 09:14:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666800871; cv=none; d=google.com; s=arc-20160816; b=LAkW/Ql9UN5frMziPF+5n4I5Sxao35Dv0SVvhtV6UCX+HjoEZtHgXQ1I+ZBNIEnK++ 3J81/UHZBBO9VmUoNAvLsoIM1VYvyHyDHrT1zL7uYKq+wUB+bpFGCJmbBLfSySBcXt7n TcqUdi4M+ME1mjoVhWnkelg5ZwVoQ9wi5T4Nk/IZfkaYS2IhXhSvUVB1pWknoOGniucB C3nCflUZTY8BNlgH72njKFBsxTzPjFrCbA9t4ceBoblinxEUWvX67MCYmXftAQRPh+1A 8BpSPaHDFUXaSQPylcuBub5yuqMhpJZaNzqu2jtXN5Ge9r2g3fCkkDuGpjUuCp4UUXju SyHA== 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=5AJeBJwCUa9BWZZmmaVkzM9xz4RJkm0ZLGTqRR/eOmw=; b=Bj4TSC/n1qulRL6FD0NhyjOil3PHttCyZaX3LHdO5N19g8NCgsjsRB0/hGsEP7LjOk dRw2djgKH6ikZri5meF+QVJNaKd7vGtM7bwe/kDHgHDT1ZnIEWOhWTNeJ0n37LdP1IKT p/i3s7UNjQtXFnwOwZG2FTSysWwgu1wbTJGX9GL70CSnwAmdMYMZpw+95jSnAvDx42oH XvIUDIYEF5b7y/VveyV2QetODLkK1jpXlnLjG3MSNinXrG948j7vwqiNj05eQ1UkznDi Dp8wo/gAkqp+CHOKWg1AB1G/42Sn1zOhvrFX8UiX7ULjrcrG9TWIvKITuaAqg3tZ6YGS 65pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YtGiPvDz; 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 b8-20020a056402084800b004590ae88029si6278329edz.610.2022.10.26.09.14.06; Wed, 26 Oct 2022 09:14:31 -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=YtGiPvDz; 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 S234678AbiJZQN1 (ORCPT + 99 others); Wed, 26 Oct 2022 12:13:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234672AbiJZQNW (ORCPT ); Wed, 26 Oct 2022 12:13:22 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 358EC95267; Wed, 26 Oct 2022 09:13:20 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29QGD49X093126; Wed, 26 Oct 2022 11:13:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666800784; bh=5AJeBJwCUa9BWZZmmaVkzM9xz4RJkm0ZLGTqRR/eOmw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YtGiPvDzyF011cv9vW1Ybp2fhPwkuwc1cl6kROrS64ChDBHA6YdXDe12Syb0ufqkc 51qmMzkPj8YY1uY/vgQvpZP//i/XOYsQQGgVCIRRxjCQUtMr70zW9EvohF/5ArO4KU W4ByBsoFUJZvSBrH83f/ucr9Ul+OH9nucUrjammQ= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29QGD4c6012465 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 26 Oct 2022 11:13:04 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Wed, 26 Oct 2022 11:13:03 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Wed, 26 Oct 2022 11:13:04 -0500 Received: from ula0226330.dal.design.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 29QGD28D006482; Wed, 26 Oct 2022 11:13:03 -0500 From: Andrew Davis To: Arnd Bergmann , Linus Walleij , Geert Uytterhoeven , Daniel Tang , Fabian Vogt , , , CC: Andrew Davis Subject: [PATCH v2 2/2] ARM: nspire: Remove unused header file mmio.h Date: Wed, 26 Oct 2022 11:13:02 -0500 Message-ID: <20221026161302.5319-3-afd@ti.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221026161302.5319-1-afd@ti.com> References: <20221026161302.5319-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.9 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_NONE,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?1747767390697252572?= X-GMAIL-MSGID: =?utf-8?q?1747767390697252572?= 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 Tested-by: Fabian Vogt Reviewed-by: Fabian Vogt --- 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",