aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/devs.c
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-04-12 15:17:26 -0400
committerTomasz Figa <tomasz.figa@gmail.com>2013-08-05 19:21:48 -0400
commitb0dd5a39a0e9ad88d0f5e182710e04a27011889e (patch)
treeaca9e7f4bc3ed1bb6f2b557e8e2b28fa6ce9be2b /arch/arm/plat-samsung/devs.c
parentc4fb0567db44d1856795b9fc9ff58d6d2344a80a (diff)
ARM: SAMSUNG: Remove unused PWM timer IRQ chip code
As the need for an IRQ chip handling PWM timer interrupt chaining is gone now, this patch removes all the code made unnecessary. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Tested-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Mark Brown <broonie@linaro.org> Tested-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/plat-samsung/devs.c')
-rw-r--r--arch/arm/plat-samsung/devs.c25
1 files changed, 6 insertions, 19 deletions
diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c
index bba6d78a4c24..290f63a7aa64 100644
--- a/arch/arm/plat-samsung/devs.c
+++ b/arch/arm/plat-samsung/devs.c
@@ -1099,22 +1099,9 @@ arch_initcall(s5p_pmu_init);
1099 1099
1100#ifdef CONFIG_SAMSUNG_DEV_PWM 1100#ifdef CONFIG_SAMSUNG_DEV_PWM
1101 1101
1102#define TIMER_RESOURCE_SIZE (1) 1102#define DEFINE_S3C_TIMER(_tmr_no) \
1103
1104#define TIMER_RESOURCE(_tmr, _irq) \
1105 (struct resource [TIMER_RESOURCE_SIZE]) { \
1106 [0] = { \
1107 .start = _irq, \
1108 .end = _irq, \
1109 .flags = IORESOURCE_IRQ \
1110 } \
1111 }
1112
1113#define DEFINE_S3C_TIMER(_tmr_no, _irq) \
1114 .name = "s3c24xx-pwm", \ 1103 .name = "s3c24xx-pwm", \
1115 .id = _tmr_no, \ 1104 .id = _tmr_no, \
1116 .num_resources = TIMER_RESOURCE_SIZE, \
1117 .resource = TIMER_RESOURCE(_tmr_no, _irq), \
1118 1105
1119/* 1106/*
1120 * since we already have an static mapping for the timer, 1107 * since we already have an static mapping for the timer,
@@ -1122,11 +1109,11 @@ arch_initcall(s5p_pmu_init);
1122 */ 1109 */
1123 1110
1124struct platform_device s3c_device_timer[] = { 1111struct platform_device s3c_device_timer[] = {
1125 [0] = { DEFINE_S3C_TIMER(0, IRQ_TIMER0) }, 1112 [0] = { DEFINE_S3C_TIMER(0) },
1126 [1] = { DEFINE_S3C_TIMER(1, IRQ_TIMER1) }, 1113 [1] = { DEFINE_S3C_TIMER(1) },
1127 [2] = { DEFINE_S3C_TIMER(2, IRQ_TIMER2) }, 1114 [2] = { DEFINE_S3C_TIMER(2) },
1128 [3] = { DEFINE_S3C_TIMER(3, IRQ_TIMER3) }, 1115 [3] = { DEFINE_S3C_TIMER(3) },
1129 [4] = { DEFINE_S3C_TIMER(4, IRQ_TIMER4) }, 1116 [4] = { DEFINE_S3C_TIMER(4) },
1130}; 1117};
1131 1118
1132static struct resource samsung_pwm_resource[] = { 1119static struct resource samsung_pwm_resource[] = {