ARM: shmobile: Misc removals
Geert Uytterhoeven
maintainercover ARM: shmobile: Misc removals
Hi Simon, Magnus,
This patch series (against renesas-devel-20150804-v4.2-rc5) removes various header files, source files, declarations and definitions that are no longer in use.
Dependencies:
- Patch 1 depends on v3.12,
- Patches 2-5 depend on the sh73a0/kzm9g and r8a7740/armadillo legacy removal, which is in arm-soc/for-next,
- Patches 6-7 depend on the r8a7779/marzen legacy removal, which is in
marzen-board-removal-for-v4.3.
Note that I didn't remove the now unused r8a7779_init_pm_domains() et al yet, as I need to have a closer look on what to retain for R-Car DT SYSC PM Domains first.
Thanks!
Geert Uytterhoeven (7):
ARM: shmobile: Remove unused declaration of
r8a7778_add_standard_devices_dt()
ARM: shmobile: Remove obsolete sh-gpio.h
ARM: shmobile: Remove obsolete custom earlyprintk code
ARM: shmobile: Remove obsolete intc.h
ARM: shmobile: Remove obsolete legacy PM Domain leftovers
ARM: shmobile: Remove obsolete earlytimer registration
ARM: shmobile: Remove obsolete twd_local_timer declaration
arch/arm/mach-shmobile/Makefile | 2 +- arch/arm/mach-shmobile/common.h | 3 - arch/arm/mach-shmobile/console.c | 27 ---- arch/arm/mach-shmobile/intc.h | 295 ------------------------------------ arch/arm/mach-shmobile/pm-rmobile.h | 9 -- arch/arm/mach-shmobile/r8a7778.h | 1 - arch/arm/mach-shmobile/sh-gpio.h | 29 ---- arch/arm/mach-shmobile/timer.c | 21 --- 8 files changed, 1 insertion(+), 386 deletions(-) delete mode 100644 arch/arm/mach-shmobile/console.c delete mode 100644 arch/arm/mach-shmobile/intc.h delete mode 100644 arch/arm/mach-shmobile/sh-gpio.h
Signature · 12 lines
1.9.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus TorvaldsGeert Uytterhoeven
maintainerPATCH 1/7 ARM: shmobile: Remove unused declaration of r8a7778_add_standard_devices_dt()
The actual implementation was removed by commit 40216263d3d0b9b4 ("ARM:
shmobile: Remove unused r8a7778 auxdata and callback") in v3.12.
--- arch/arm/mach-shmobile/r8a7778.h | 1 - 1 file changed, 1 deletion(-)
arch/arm/mach-shmobile/r8a7778.h +0 -1
@@ -63,7 +63,6 @@ enum { };extern void r8a7778_add_standard_devices (void ); -extern void r8a7778_add_standard_devices_dt (void );extern void r8a7778_add_dt_devices (void );extern void r8a7778_init_late (void );
Signature · 1 line
1.9.1
Geert Uytterhoeven
maintainerPATCH 2/7 ARM: shmobile: Remove obsolete sh-gpio.h
In reply to Geert UytterhoevenThe last user of "sh-gpio.h" was removed in commit 1fa59bda21c7fa36 ("ARM: shmobile: Remove legacy board code for Armadillo-800 EVA").
--- arch/arm/mach-shmobile/sh-gpio.h | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 arch/arm/mach-shmobile/sh-gpio.h
arch/arm/mach-shmobile/sh-gpio.h deleted +0 -29
@@ -1,29 +0,0 @@ -/* -* Generic GPIO API and pinmux table support -* -* Copyright (c) 2008 Magnus Damm -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -*/ -#ifndef __ASM_ARCH_GPIO_H -#define __ASM_ARCH_GPIO_H - -#include <linux/kernel.h> -#include <linux/errno.h> -#include <linux/io.h> - -/* -* FIXME !! -* -* current gpio frame work doesn't have -* the method to control only pull up/down/free. -* this function should be replaced by correct gpio function -*/ -static inline void __init gpio_direction_none (void __iomem * addr) -{ -__raw_writeb (0x00 , addr); -} - -#endif /* __ASM_ARCH_GPIO_H */
Signature · 1 line
1.9.1
Geert Uytterhoeven
maintainerPATCH 3/7 ARM: shmobile: Remove obsolete custom earlyprintk code
In reply to Geert UytterhoevenThe last caller of shmobile_setup_console() was removed in commit 44d88c754e57a6d9 ("ARM: shmobile: Remove legacy SoC code for R-Mobile A1").
--- arch/arm/mach-shmobile/Makefile | 2 +- arch/arm/mach-shmobile/common.h | 1 - arch/arm/mach-shmobile/console.c | 27 --------------------------- 3 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 arch/arm/mach-shmobile/console.c
arch/arm/mach-shmobile/Makefile +1 -1
@@ -3,7 +3,7 @@ # # Common objects -obj-y := timer.o console.o +obj-y := timer.o # CPU objects obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o
arch/arm/mach-shmobile/common.h +0 -1
@@ -4,7 +4,6 @@extern void shmobile_earlytimer_init (void );extern void shmobile_init_delay (void );struct twd_local_timer ; -extern void shmobile_setup_console (void );extern void shmobile_boot_vector (void );extern unsigned long shmobile_boot_fn;extern unsigned long shmobile_boot_arg;
arch/arm/mach-shmobile/console.c deleted +0 -27
@@ -1,27 +0,0 @@ -/* -* SH-Mobile Console -* -* Copyright (C) 2010 Magnus Damm -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; version 2 of the License. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -*/ -#include <linux/kernel.h> -#include <linux/init.h> -#include <linux/platform_device.h> -#include <asm/mach/map.h> -#include "common.h" - -void __init shmobile_setup_console (void ) -{ -parse_early_param (); - -/* Let earlyprintk output early console messages */ -early_platform_driver_probe ("earlyprintk" ,1 ,1 ); -}
Signature · 1 line
1.9.1
Geert Uytterhoeven
maintainerPATCH 4/7 ARM: shmobile: Remove obsolete intc.h
In reply to Geert UytterhoevenThe last user of "intc.h" was removed in commit 9a9863987bf7307f ("ARM:
shmobile: Remove legacy SoC code for SH-Mobile AG5").
--- arch/arm/mach-shmobile/intc.h | 295 ------------------------------------------ 1 file changed, 295 deletions(-) delete mode 100644 arch/arm/mach-shmobile/intc.h
arch/arm/mach-shmobile/intc.h deleted +0 -295
@@ -1,295 +0,0 @@ -#ifndef __ASM_MACH_INTC_H -#define __ASM_MACH_INTC_H -#include <linux/sh_intc.h> - -#define INTC_IRQ_PINS_ENUM_16L (p) \ - p ## _IRQ0, p ## _IRQ1, p ## _IRQ2, p ## _IRQ3, \ - p ## _IRQ4, p ## _IRQ5, p ## _IRQ6, p ## _IRQ7, \ - p ## _IRQ8, p ## _IRQ9, p ## _IRQ10, p ## _IRQ11, \ - p ## _IRQ12, p ## _IRQ13, p ## _IRQ14, p ## _IRQ15 - -#define INTC_IRQ_PINS_ENUM_16H (p) \ - p ## _IRQ16, p ## _IRQ17, p ## _IRQ18, p ## _IRQ19, \ - p ## _IRQ20, p ## _IRQ21, p ## _IRQ22, p ## _IRQ23, \ - p ## _IRQ24, p ## _IRQ25, p ## _IRQ26, p ## _IRQ27, \ - p ## _IRQ28, p ## _IRQ29, p ## _IRQ30, p ## _IRQ31 - -#define INTC_IRQ_PINS_VECT_16L (p, vect) \ - vect(p ## _IRQ0, 0x0200), vect(p ## _IRQ1, 0x0220), \ - vect(p ## _IRQ2, 0x0240), vect(p ## _IRQ3, 0x0260), \ - vect(p ## _IRQ4, 0x0280), vect(p ## _IRQ5, 0x02a0), \ - vect(p ## _IRQ6, 0x02c0), vect(p ## _IRQ7, 0x02e0), \ - vect(p ## _IRQ8, 0x0300), vect(p ## _IRQ9, 0x0320), \ - vect(p ## _IRQ10, 0x0340), vect(p ## _IRQ11, 0x0360), \ - vect(p ## _IRQ12, 0x0380), vect(p ## _IRQ13, 0x03a0), \ - vect(p ## _IRQ14, 0x03c0), vect(p ## _IRQ15, 0x03e0) - -#define INTC_IRQ_PINS_VECT_16H (p, vect) \ - vect(p ## _IRQ16, 0x3200), vect(p ## _IRQ17, 0x3220), \ - vect(p ## _IRQ18, 0x3240), vect(p ## _IRQ19, 0x3260), \ - vect(p ## _IRQ20, 0x3280), vect(p ## _IRQ21, 0x32a0), \ - vect(p ## _IRQ22, 0x32c0), vect(p ## _IRQ23, 0x32e0), \ - vect(p ## _IRQ24, 0x3300), vect(p ## _IRQ25, 0x3320), \ - vect(p ## _IRQ26, 0x3340), vect(p ## _IRQ27, 0x3360), \ - vect(p ## _IRQ28, 0x3380), vect(p ## _IRQ29, 0x33a0), \ - vect(p ## _IRQ30, 0x33c0), vect(p ## _IRQ31, 0x33e0) - -#define INTC_IRQ_PINS_MASK_16L (p, base) \ - { base + 0x40, base + 0x60, 8,/* INTMSK00A / INTMSKCLR00A */ \ - { p ## _IRQ0, p ## _IRQ1, p ## _IRQ2, p ## _IRQ3, \ - p ## _IRQ4, p ## _IRQ5, p ## _IRQ6, p ## _IRQ7 } }, \ - { base + 0x44, base + 0x64, 8, /* INTMSK10A / INTMSKCLR10A */ \ - { p ## _IRQ8, p ## _IRQ9, p ## _IRQ10, p ## _IRQ11, \ - p ## _IRQ12, p ## _IRQ13, p ## _IRQ14, p ## _IRQ15 } } - -#define INTC_IRQ_PINS_MASK_16H(p, base) \ - { base + 0x48, base + 0x68, 8, /* INTMSK20A / INTMSKCLR20A */ \ - { p ## _IRQ16, p ## _IRQ17, p ## _IRQ18, p ## _IRQ19, \ - p ## _IRQ20, p ## _IRQ21, p ## _IRQ22, p ## _IRQ23 } }, \ - { base + 0x4c, base + 0x6c, 8, /* INTMSK30A / INTMSKCLR30A */ \ - { p ## _IRQ24, p ## _IRQ25, p ## _IRQ26, p ## _IRQ27, \ - p ## _IRQ28, p ## _IRQ29, p ## _IRQ30, p ## _IRQ31 } } - -#define INTC_IRQ_PINS_PRIO_16L(p, base) \ - { base + 0x10, 0, 32, 4, /* INTPRI00A */ \ - { p ## _IRQ0, p ## _IRQ1, p ## _IRQ2, p ## _IRQ3, \ - p ## _IRQ4, p ## _IRQ5, p ## _IRQ6, p ## _IRQ7 } }, \ - { base + 0x14, 0, 32, 4, /* INTPRI10A */ \ - { p ## _IRQ8, p ## _IRQ9, p ## _IRQ10, p ## _IRQ11, \ - p ## _IRQ12, p ## _IRQ13, p ## _IRQ14, p ## _IRQ15 } } - -#define INTC_IRQ_PINS_PRIO_16H(p, base) \ - { base + 0x18, 0, 32, 4, /* INTPRI20A */ \ - { p ## _IRQ16, p ## _IRQ17, p ## _IRQ18, p ## _IRQ19, \ - p ## _IRQ20, p ## _IRQ21, p ## _IRQ22, p ## _IRQ23 } }, \ - { base + 0x1c, 0, 32, 4, /* INTPRI30A */ \ - { p ## _IRQ24, p ## _IRQ25, p ## _IRQ26, p ## _IRQ27, \ - p ## _IRQ28, p ## _IRQ29, p ## _IRQ30, p ## _IRQ31 } } - -#define INTC_IRQ_PINS_SENSE_16L(p, base) \ - { base + 0x00, 32, 4, /* ICR1A */ \ - { p ## _IRQ0, p ## _IRQ1, p ## _IRQ2, p ## _IRQ3, \ - p ## _IRQ4, p ## _IRQ5, p ## _IRQ6, p ## _IRQ7 } }, \ - { base + 0x04, 32, 4, /* ICR2A */ \ - { p ## _IRQ8, p ## _IRQ9, p ## _IRQ10, p ## _IRQ11, \ - p ## _IRQ12, p ## _IRQ13, p ## _IRQ14, p ## _IRQ15 } } - -#define INTC_IRQ_PINS_SENSE_16H(p, base) \ - { base + 0x08, 32, 4, /* ICR3A */ \ - { p ## _IRQ16, p ## _IRQ17, p ## _IRQ18, p ## _IRQ19, \ - p ## _IRQ20, p ## _IRQ21, p ## _IRQ22, p ## _IRQ23 } }, \ - { base + 0x0c, 32, 4, /* ICR4A */ \ - { p ## _IRQ24, p ## _IRQ25, p ## _IRQ26, p ## _IRQ27, \ - p ## _IRQ28, p ## _IRQ29, p ## _IRQ30, p ## _IRQ31 } } - -#define INTC_IRQ_PINS_ACK_16L(p, base) \ - { base + 0x20, 0, 8, /* INTREQ00A */ \ - { p ## _IRQ0, p ## _IRQ1, p ## _IRQ2, p ## _IRQ3, \ - p ## _IRQ4, p ## _IRQ5, p ## _IRQ6, p ## _IRQ7 } }, \ - { base + 0x24, 0, 8, /* INTREQ10A */ \ - { p ## _IRQ8, p ## _IRQ9, p ## _IRQ10, p ## _IRQ11, \ - p ## _IRQ12, p ## _IRQ13, p ## _IRQ14, p ## _IRQ15 } } - -#define INTC_IRQ_PINS_ACK_16H(p, base) \ - { base + 0x28, 0, 8, /* INTREQ20A */ \ - { p ## _IRQ16, p ## _IRQ17, p ## _IRQ18, p ## _IRQ19, \ - p ## _IRQ20, p ## _IRQ21, p ## _IRQ22, p ## _IRQ23 } }, \ - { base + 0x2c, 0, 8, /* INTREQ30A */ \ - { p ## _IRQ24, p ## _IRQ25, p ## _IRQ26, p ## _IRQ27, \ - p ## _IRQ28, p ## _IRQ29, p ## _IRQ30, p ## _IRQ31 } } - -#define INTC_IRQ_PINS_16(p, base, vect, str) \ - \ -static struct resource p ## _resources[] __initdata = { \ - [0 ] = { \ - .start = base, \ - .end = base +0x64 , \ - .flags =IORESOURCE_MEM , \ - }, \ -}; \ - \ -enum { \ - p ## _UNUSED = 0, \ - INTC_IRQ_PINS_ENUM_16L(p), \ -}; \ - \ -static struct intc_vect p ## _vectors[] __initdata = { \ -INTC_IRQ_PINS_VECT_16L (p, vect), \ -}; \ - \ -static struct intc_mask_reg p ## _mask_registers[] __initdata = { \ -INTC_IRQ_PINS_MASK_16L (p, base), \ -}; \ - \ -static struct intc_prio_reg p ## _prio_registers[] __initdata = { \ -INTC_IRQ_PINS_PRIO_16L (p, base), \ -}; \ - \ -static struct intc_sense_reg p ## _sense_registers[] __initdata = { \ -INTC_IRQ_PINS_SENSE_16L (p, base), \ -}; \ - \ -static struct intc_mask_reg p ## _ack_registers[] __initdata = { \ -INTC_IRQ_PINS_ACK_16L (p, base), \ -}; \ - \ -static struct intc_desc p ## _desc __initdata = { \ - .name = str, \ - .resource = p ## _resources, \ - .num_resources = ARRAY_SIZE(p ## _resources), \ - .hw = INTC_HW_DESC(p ## _vectors, NULL, \ - p ## _mask_registers, p ## _prio_registers, \ - p ## _sense_registers, p ## _ack_registers) \ -} - -#define INTC_IRQ_PINS_16H (p, base, vect, str) \ - \ -static struct resource p ## _resources[] __initdata = { \ - [0] = { \ - .start = base, \ - .end = base + 0x64, \ - .flags = IORESOURCE_MEM, \ - }, \ -}; \ - \ -enum { \ - p ## _UNUSED = 0, \ - INTC_IRQ_PINS_ENUM_16H(p), \ -}; \ - \ -static struct intc_vect p ## _vectors[] __initdata = { \ - INTC_IRQ_PINS_VECT_16H(p, vect), \ -}; \ - \ -static struct intc_mask_reg p ## _mask_registers[] __initdata = { \ - INTC_IRQ_PINS_MASK_16H(p, base), \ -}; \ - \ -static struct intc_prio_reg p ## _prio_registers[] __initdata = { \ - INTC_IRQ_PINS_PRIO_16H(p, base), \ -}; \ - \ -static struct intc_sense_reg p ## _sense_registers[] __initdata = { \ - INTC_IRQ_PINS_SENSE_16H(p, base), \ -}; \ - \ -static struct intc_mask_reg p ## _ack_registers[] __initdata = { \ - INTC_IRQ_PINS_ACK_16H(p, base), \ -}; \ - \ -static struct intc_desc p ## _desc __initdata = { \ - .name = str, \ - .resource = p ## _resources, \ - .num_resources = ARRAY_SIZE(p ## _resources), \ - .hw = INTC_HW_DESC(p ## _vectors, NULL, \ - p ## _mask_registers, p ## _prio_registers, \ - p ## _sense_registers, p ## _ack_registers) \ -} - -#define INTC_IRQ_PINS_32 (p, base, vect, str) \ - \ -static struct resource p ## _resources[] __initdata = { \ - [0] = { \ - .start = base, \ - .end = base + 0x6c, \ - .flags = IORESOURCE_MEM, \ - }, \ -}; \ - \ -enum { \ - p ## _UNUSED = 0, \ - INTC_IRQ_PINS_ENUM_16L(p), \ - INTC_IRQ_PINS_ENUM_16H(p), \ -}; \ - \ -static struct intc_vect p ## _vectors[] __initdata = { \ - INTC_IRQ_PINS_VECT_16L(p, vect), \ - INTC_IRQ_PINS_VECT_16H(p, vect), \ -}; \ - \ -static struct intc_mask_reg p ## _mask_registers[] __initdata = { \ - INTC_IRQ_PINS_MASK_16L(p, base), \ - INTC_IRQ_PINS_MASK_16H(p, base), \ -}; \ - \ -static struct intc_prio_reg p ## _prio_registers[] __initdata = { \ - INTC_IRQ_PINS_PRIO_16L(p, base), \ - INTC_IRQ_PINS_PRIO_16H(p, base), \ -}; \ - \ -static struct intc_sense_reg p ## _sense_registers[] __initdata = { \ - INTC_IRQ_PINS_SENSE_16L(p, base), \ - INTC_IRQ_PINS_SENSE_16H(p, base), \ -}; \ - \ -static struct intc_mask_reg p ## _ack_registers[] __initdata = { \ - INTC_IRQ_PINS_ACK_16L(p, base), \ - INTC_IRQ_PINS_ACK_16H(p, base), \ -}; \ - \ -static struct intc_desc p ## _desc __initdata = { \ - .name = str, \ - .resource = p ## _resources, \ - .num_resources = ARRAY_SIZE(p ## _resources), \ - .hw = INTC_HW_DESC(p ## _vectors, NULL, \ - p ## _mask_registers, p ## _prio_registers, \ - p ## _sense_registers, p ## _ack_registers) \ -} - -#define INTC_PINT_E_EMPTY -#define INTC_PINT_E_NONE 0, 0, 0, 0, 0, 0, 0, 0, -#define INTC_PINT_E (p) \ - PINT ## p ## 0, PINT ## p ## 1, PINT ## p ## 2, PINT ## p ## 3, \ - PINT ## p ## 4, PINT ## p ## 5, PINT ## p ## 6, PINT ## p ## 7, - -#define INTC_PINT_V_NONE -#define INTC_PINT_V (p, vect) \ - vect(PINT ## p ## 0, 0), vect(PINT ## p ## 1, 1), \ - vect(PINT ## p ## 2, 2), vect(PINT ## p ## 3, 3), \ - vect(PINT ## p ## 4, 4), vect(PINT ## p ## 5, 5), \ - vect(PINT ## p ## 6, 6), vect(PINT ## p ## 7, 7), - -#define INTC_PINT (p, mask_reg, sense_base, str, \ - enums_1, enums_2, enums_3, enums_4, \ - vect_1, vect_2, vect_3, vect_4, \ - mask_a, mask_b, mask_c, mask_d, \ - sense_a, sense_b, sense_c, sense_d) \ - \ -enum { \ - PINT ## p ## _UNUSED = 0, \ - enums_1 enums_2 enums_3 enums_4 \ -}; \ - \ -static struct intc_vect p ## _vectors[] __initdata = { \ - vect_1 vect_2 vect_3 vect_4 \ -}; \ - \ -static struct intc_mask_reg p ## _mask_registers[] __initdata = { \ - { mask_reg, 0, 32,/* PINTER */ \ - { mask_a mask_b mask_c mask_d } } \ -}; \ - \ -static struct intc_sense_reg p ## _sense_registers[] __initdata = { \ - { sense_base +0x00 ,16 ,2 ,/* PINTCR */ \ - { sense_a } }, \ - { sense_base +0x04 ,16 ,2 ,/* PINTCR */ \ - { sense_b } }, \ - { sense_base +0x08 ,16 ,2 ,/* PINTCR */ \ - { sense_c } }, \ - { sense_base +0x0c ,16 ,2 ,/* PINTCR */ \ - { sense_d } }, \ -}; \ - \ -static struct intc_desc p ## _desc __initdata = { \ - .name = str, \ - .hw = INTC_HW_DESC(p ## _vectors, NULL, \ - p ## _mask_registers, NULL, \ - p ## _sense_registers, NULL), \ -} - -/* INTCS */ -#define INTCS_VECT_BASE 0x3400 -#define INTCS_VECT (n, vect) INTC_VECT((n), INTCS_VECT_BASE + (vect)) -#define intcs_evt2irq (evt) evt2irq(INTCS_VECT_BASE + (evt)) - -#endif /* __ASM_MACH_INTC_H */
Signature · 1 line
1.9.1
Geert Uytterhoeven
maintainerPATCH 5/7 ARM: shmobile: Remove obsolete legacy PM Domain leftovers
In reply to Geert UytterhoevenThe last users were removed in commit b587288001f05c0e ("ARM: shmobile:
R-Mobile: Remove legacy PM Domain code").
--- arch/arm/mach-shmobile/pm-rmobile.h | 9 --------- 1 file changed, 9 deletions(-)
arch/arm/mach-shmobile/pm-rmobile.h +0 -9
@@ -12,10 +12,6 @@#include <linux/pm_domain.h> -#define DEFAULT_DEV_LATENCY_NS 250000 - -struct platform_device ; -struct rmobile_pm_domain {struct generic_pm_domain genpd;struct dev_power_governor *gov;
@@ -26,9 +22,4 @@ struct rmobile_pm_domain { bool no_debug; }; -struct pm_domain_device { -const char *domain_name; -struct platform_device *pdev; -}; -#endif /* PM_RMOBILE_H */
Signature · 1 line
1.9.1
Geert Uytterhoeven
maintainerPATCH 6/7 ARM: shmobile: Remove obsolete earlytimer registration
In reply to Geert UytterhoevenThe last caller of shmobile_earlytimer_init() was removed in commit c99cd90d98a98aa1 ("ARM: shmobile: r8a7779: Remove legacy SoC code").
--- arch/arm/mach-shmobile/common.h | 1 - arch/arm/mach-shmobile/timer.c | 21 --------------------- 2 files changed, 22 deletions(-)
arch/arm/mach-shmobile/common.h +0 -1
@@ -1,7 +1,6 @@#ifndef __ARCH_MACH_COMMON_H#define __ARCH_MACH_COMMON_H -extern void shmobile_earlytimer_init (void );extern void shmobile_init_delay (void );struct twd_local_timer ;extern void shmobile_boot_vector (void );
arch/arm/mach-shmobile/timer.c +0 -21
@@ -77,24 +77,3 @@ void __init shmobile_init_delay(void)shmobile_setup_delay_hz (max_freq,2 ,4 ); } } - -static void __init shmobile_late_time_init (void ) -{ -/* -* Make sure all compiled-in early timers register themselves. -* -* Run probe() for two "earlytimer" devices, these will be the -* clockevents and clocksource devices respectively. In the event -* that only a clockevents device is available, we -ENODEV on the -* clocksource and the jiffies clocksource is used transparently -* instead. No error handling is necessary here. -*/ -early_platform_driver_register_all ("earlytimer" ); -early_platform_driver_probe ("earlytimer" ,2 ,0 ); -} - -void __init shmobile_earlytimer_init (void ) -{ - late_time_init = shmobile_late_time_init; -} -
Signature · 1 line
1.9.1
Geert Uytterhoeven
maintainerPATCH 7/7 ARM: shmobile: Remove obsolete twd_local_timer declaration
In reply to Geert UytterhoevenThe last user of twd_local_timer was removed in commit c99cd90d98a98aa1 ("ARM: shmobile: r8a7779: Remove legacy SoC code").
--- arch/arm/mach-shmobile/common.h | 1 - 1 file changed, 1 deletion(-)
arch/arm/mach-shmobile/common.h +0 -1
@@ -2,7 +2,6 @@#define __ARCH_MACH_COMMON_Hextern void shmobile_init_delay (void ); -struct twd_local_timer ;extern void shmobile_boot_vector (void );extern unsigned long shmobile_boot_fn;extern unsigned long shmobile_boot_arg;
Signature · 1 line
1.9.1
cover ARM: shmobile: Misc removals
In reply to Geert UytterhoevenQuoted 11 lines · Geert Uytterhoeven
Hi Simon, Magnus,
This patch series (against renesas-devel-20150804-v4.2-rc5) removes various header files, source files, declarations and definitions that are no longer in use.
Dependencies:
- Patch 1 depends on v3.12,
- Patches 2-5 depend on the sh73a0/kzm9g and r8a7740/armadillo legacy removal, which is in arm-soc/for-next,
- Patches 6-7 depend on the r8a7779/marzen legacy removal, which is in
Quoted 7 lines
marzen-board-removal-for-v4.3.Note that I didn't remove the now unused
r8a7779_init_pm_domains()et al yet, as I need to have a closer look on what to retain for R-Car DT SYSC PM Domains first.Thanks!
Thanks, I have tentatively queued these up for v4.4 as I feel that the bottom of our stack of patches at a fresh cycle is the best place for these kinds of cleanups.