From patchwork Wed Aug 2 15:33:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 130000 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp610503vqx; Wed, 2 Aug 2023 10:22:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlHhcEglgsRNLv7ZByqSre39LKo+9tZ2y3bAdrBtBk9HRkO7H4iowL5/Fw+Aj73GOIkioBdM X-Received: by 2002:a17:906:51c9:b0:96f:8666:5fc4 with SMTP id v9-20020a17090651c900b0096f86665fc4mr5970564ejk.50.1690996930448; Wed, 02 Aug 2023 10:22:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690996930; cv=none; d=google.com; s=arc-20160816; b=iItWS5JQPDQMeU00KuwEGBjaPTwsflMSxNvp4UKLrcWUzrrhEivVVY4fLl3Z/Yj5cu giqfF0Xu2vcxzsNYob22B1E0uSZsxQhFL8Avf4RmSh3R8pBRka6krmxJOYsA17XNb1Za kPnDqB49DuOyUgJ/mCsHqW4M0NC0nxv5JtDjKi8m7w8QQ4HBwQh6jzP4GuxsL/gUSFG4 qU9/3FnCvi+UH3LVC5E9XEH2NgZeOLLIG1GOj9dGpNGb6DpaiLB6wVddb5dt2ROTrJYX EmMpaEGQUr/cvsOFRUpwwidbXerR2gZ8cLeUzo/Fo3reoWmuPeptB3VHdA9wzr05JS+X b2Lw== 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=D6RZBQlGpQ6aANeAtkpG01RL2+OkiYDOK6fsE47v/fo=; fh=vIFj7pamUD2lbpyzZNbAg3UrwhMpl/hglW0lQprQi5c=; b=exnYR+loq4P202iRy2XWLLLENv95qOP5Sb4DkRGtXmS+0j4yR7iV9SoHJjWVgM5bMg UXzaww+pjbfvzVjg3lvXsTmpgr0pQf4aQGoASmK8A4Pljsn69Cv20XNh7YFTgIWFddoG 7mCXF0DjGlFEJcfyJLezDds1+H4lGHQeHHA9SwDt4nBTkHxGR8jIgIdKPjeUTmv/c8iN b3dehIy2jz+XPtyuZiyT4ABIlOt+hUjVNLja2EYj0qZeMODQmNIfKeR0V2TbhBXxcC8p yTNl21HFqS3WDIcn0UqFfKfya1nzCKZHqREJbdgxwMVQSfJOyO+hauxNg/QK5vQCQ7Bq fB6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ghZCnVXm; 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 i20-20020a170906115400b00991f1a1c99csi600432eja.360.2023.08.02.10.21.46; Wed, 02 Aug 2023 10:22:10 -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=ghZCnVXm; 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 S233944AbjHBPeW (ORCPT + 99 others); Wed, 2 Aug 2023 11:34:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234121AbjHBPd6 (ORCPT ); Wed, 2 Aug 2023 11:33:58 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28D061BFD; Wed, 2 Aug 2023 08:33:55 -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 372FXhNL026515; Wed, 2 Aug 2023 10:33:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690990423; bh=D6RZBQlGpQ6aANeAtkpG01RL2+OkiYDOK6fsE47v/fo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ghZCnVXm6Gpcc4kgX8XfvrMbZUoJTeF0zkJwD0HWJL3iIGk7S1XUAOBbyn0g43Iy7 tx852APIKy5d9ZEG3d0GrAPvq6NrgOSoT8wqJkYR/4+d8SynJ96ZcRgNMbzzVgU2Vj sbOKVqIT3AY1XARF/Dw0nVqK1Jt+twRaqoQDLyHo= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 372FXhh8012798 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 2 Aug 2023 10:33:43 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 2 Aug 2023 10:33:41 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE112.ent.ti.com (10.64.6.33) 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; Wed, 2 Aug 2023 10:33:41 -0500 Received: from lelv0327.itg.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 372FXYq7072743; Wed, 2 Aug 2023 10:33:41 -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 v8 9/9] ARM: nspire: Remove unused header file mmio.h Date: Wed, 2 Aug 2023 10:33:33 -0500 Message-ID: <20230802153333.55546-10-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230802153333.55546-1-afd@ti.com> References: <20230802153333.55546-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,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: INBOX X-GMAIL-THRID: 1773138797016187503 X-GMAIL-MSGID: 1773138797016187503 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 2ce0656139ece..0000000000000 --- 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 1e13337972dd5..2fbfc23237ffe 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",