summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-nspire
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-03-02 14:38:05 +0100
committerArnd Bergmann <arnd@arndb.de>2018-03-07 16:07:35 +0100
commit4ffb75c2dc3ae818bf8a32493e22ac632dd51558 (patch)
treef3e85f1b81bad2a7f101272aca9611464a329dee /arch/arm/mach-nspire
parenta66c51f9cc993748b8e9942382c52827d3902caa (diff)
downloadlinux-4ffb75c2dc3ae818bf8a32493e22ac632dd51558.tar.gz
linux-4ffb75c2dc3ae818bf8a32493e22ac632dd51558.tar.bz2
linux-4ffb75c2dc3ae818bf8a32493e22ac632dd51558.zip
ARM: nspire: Remove unneeded nspire_map_io()
nspire_map_io() just calls debug_ll_io_init(). If machine_desc.map_io is not set, devicemaps_init() in the common ARM code will call debug_ll_io_init(), so nspire_map_io() and the initialization of .map_io can be removed. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-nspire')
-rw-r--r--arch/arm/mach-nspire/nspire.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-nspire/nspire.c b/arch/arm/mach-nspire/nspire.c
index f0808fcc5acc..8584cdd1c827 100644
--- a/arch/arm/mach-nspire/nspire.c
+++ b/arch/arm/mach-nspire/nspire.c
@@ -33,11 +33,6 @@ static const char *const nspire_dt_match[] __initconst = {
NULL,
};
-static void __init nspire_map_io(void)
-{
- debug_ll_io_init();
-}
-
static struct clcd_board nspire_clcd_data = {
.name = "LCD",
.caps = CLCD_CAP_5551 | CLCD_CAP_565,
@@ -71,7 +66,6 @@ static void nspire_restart(enum reboot_mode mode, const char *cmd)
DT_MACHINE_START(NSPIRE, "TI-NSPIRE")
.dt_compat = nspire_dt_match,
- .map_io = nspire_map_io,
.init_machine = nspire_init,
.restart = nspire_restart,
MACHINE_END