diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2013-11-21 13:15:28 -0500 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2013-12-25 13:32:11 -0500 |
commit | d3422a18dbc4a8aa1d430828b39e48d6c91f1791 (patch) | |
tree | 3bae6af0917c23533d841e9efe8144f6a25d8d5e /arch/arm | |
parent | 9211ff3140f24f6372f4627fc8b473aa08249104 (diff) |
gpio: davinci: remove unused variable intc_irq_num
As the davinci-gpio driver is migrated to use irqdomain
there is no need to pass the irq base for the gpio driver.
This patch removes this variable from davinci_gpio_platform_data
and also the refrences from the machine file.
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-davinci/da830.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-davinci/da850.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-davinci/dm355.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-davinci/dm365.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-davinci/dm644x.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-davinci/dm646x.c | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-davinci/da830.c b/arch/arm/mach-davinci/da830.c index 0813b5167e05..fb720356d047 100644 --- a/arch/arm/mach-davinci/da830.c +++ b/arch/arm/mach-davinci/da830.c | |||
@@ -1153,7 +1153,6 @@ static struct davinci_id da830_ids[] = { | |||
1153 | 1153 | ||
1154 | static struct davinci_gpio_platform_data da830_gpio_platform_data = { | 1154 | static struct davinci_gpio_platform_data da830_gpio_platform_data = { |
1155 | .ngpio = 128, | 1155 | .ngpio = 128, |
1156 | .intc_irq_num = DA830_N_CP_INTC_IRQ, | ||
1157 | }; | 1156 | }; |
1158 | 1157 | ||
1159 | int __init da830_register_gpio(void) | 1158 | int __init da830_register_gpio(void) |
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 352984e1528a..437931746689 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c | |||
@@ -1283,7 +1283,6 @@ int __init da850_register_vpif_capture(struct vpif_capture_config | |||
1283 | 1283 | ||
1284 | static struct davinci_gpio_platform_data da850_gpio_platform_data = { | 1284 | static struct davinci_gpio_platform_data da850_gpio_platform_data = { |
1285 | .ngpio = 144, | 1285 | .ngpio = 144, |
1286 | .intc_irq_num = DA850_N_CP_INTC_IRQ, | ||
1287 | }; | 1286 | }; |
1288 | 1287 | ||
1289 | int __init da850_register_gpio(void) | 1288 | int __init da850_register_gpio(void) |
diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c index 6117fc644188..4d2c72fb40c4 100644 --- a/arch/arm/mach-davinci/dm355.c +++ b/arch/arm/mach-davinci/dm355.c | |||
@@ -901,7 +901,6 @@ static struct resource dm355_gpio_resources[] = { | |||
901 | 901 | ||
902 | static struct davinci_gpio_platform_data dm355_gpio_platform_data = { | 902 | static struct davinci_gpio_platform_data dm355_gpio_platform_data = { |
903 | .ngpio = 104, | 903 | .ngpio = 104, |
904 | .intc_irq_num = DAVINCI_N_AINTC_IRQ, | ||
905 | }; | 904 | }; |
906 | 905 | ||
907 | int __init dm355_gpio_register(void) | 906 | int __init dm355_gpio_register(void) |
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c index d7c6f85d3fc9..4117748f290b 100644 --- a/arch/arm/mach-davinci/dm365.c +++ b/arch/arm/mach-davinci/dm365.c | |||
@@ -713,7 +713,6 @@ static struct resource dm365_gpio_resources[] = { | |||
713 | 713 | ||
714 | static struct davinci_gpio_platform_data dm365_gpio_platform_data = { | 714 | static struct davinci_gpio_platform_data dm365_gpio_platform_data = { |
715 | .ngpio = 104, | 715 | .ngpio = 104, |
716 | .intc_irq_num = DAVINCI_N_AINTC_IRQ, | ||
717 | .gpio_unbanked = 8, | 716 | .gpio_unbanked = 8, |
718 | }; | 717 | }; |
719 | 718 | ||
diff --git a/arch/arm/mach-davinci/dm644x.c b/arch/arm/mach-davinci/dm644x.c index 3ce47997bb46..7ee73fc588f0 100644 --- a/arch/arm/mach-davinci/dm644x.c +++ b/arch/arm/mach-davinci/dm644x.c | |||
@@ -787,7 +787,6 @@ static struct resource dm644_gpio_resources[] = { | |||
787 | 787 | ||
788 | static struct davinci_gpio_platform_data dm644_gpio_platform_data = { | 788 | static struct davinci_gpio_platform_data dm644_gpio_platform_data = { |
789 | .ngpio = 71, | 789 | .ngpio = 71, |
790 | .intc_irq_num = DAVINCI_N_AINTC_IRQ, | ||
791 | }; | 790 | }; |
792 | 791 | ||
793 | int __init dm644x_gpio_register(void) | 792 | int __init dm644x_gpio_register(void) |
diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c index 0e81fea65e7f..a6f0536fc209 100644 --- a/arch/arm/mach-davinci/dm646x.c +++ b/arch/arm/mach-davinci/dm646x.c | |||
@@ -763,7 +763,6 @@ static struct resource dm646x_gpio_resources[] = { | |||
763 | 763 | ||
764 | static struct davinci_gpio_platform_data dm646x_gpio_platform_data = { | 764 | static struct davinci_gpio_platform_data dm646x_gpio_platform_data = { |
765 | .ngpio = 43, | 765 | .ngpio = 43, |
766 | .intc_irq_num = DAVINCI_N_AINTC_IRQ, | ||
767 | }; | 766 | }; |
768 | 767 | ||
769 | int __init dm646x_gpio_register(void) | 768 | int __init dm646x_gpio_register(void) |