ARM: nspire: Remove unused header file mmio.h
authorAndrew Davis <afd@ti.com>
Wed, 2 Aug 2023 15:33:33 +0000 (10:33 -0500)
committerArnd Bergmann <arnd@arndb.de>
Sat, 12 Aug 2023 09:49:32 +0000 (11:49 +0200)
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 <afd@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-nspire/mmio.h [deleted file]
arch/arm/mach-nspire/nspire.c

diff --git a/arch/arm/mach-nspire/mmio.h b/arch/arm/mach-nspire/mmio.h
deleted file mode 100644 (file)
index 2ce0656..0000000
+++ /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 <tangrs@tangrs.id.au>
- */
-
-#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
index f0c0d6f..2fbfc23 100644 (file)
@@ -1,16 +1,9 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- *     linux/arch/arm/mach-nspire/nspire.c
- *
  *     Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au>
  */
-#include <linux/init.h>
-#include <linux/io.h>
 
 #include <asm/mach/arch.h>
-#include <asm/mach-types.h>
-
-#include "mmio.h"
 
 static const char *const nspire_dt_match[] __initconst = {
        "ti,nspire",