Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Geert Uytterhoeven and committed by
Arnd Bergmann
4ffb75c2 a66c51f9

-6
-6
arch/arm/mach-nspire/nspire.c
··· 33 33 NULL, 34 34 }; 35 35 36 - static void __init nspire_map_io(void) 37 - { 38 - debug_ll_io_init(); 39 - } 40 - 41 36 static struct clcd_board nspire_clcd_data = { 42 37 .name = "LCD", 43 38 .caps = CLCD_CAP_5551 | CLCD_CAP_565, ··· 66 71 67 72 DT_MACHINE_START(NSPIRE, "TI-NSPIRE") 68 73 .dt_compat = nspire_dt_match, 69 - .map_io = nspire_map_io, 70 74 .init_machine = nspire_init, 71 75 .restart = nspire_restart, 72 76 MACHINE_END