Skip to content

Commit

Permalink
gpio: davinci: remove unused variable intc_irq_num
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lad, Prabhakar authored and Sekhar Nori committed Dec 25, 2013
1 parent 9211ff3 commit d3422a1
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion arch/arm/mach-davinci/da830.c
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,6 @@ static struct davinci_id da830_ids[] = {

static struct davinci_gpio_platform_data da830_gpio_platform_data = {
.ngpio = 128,
.intc_irq_num = DA830_N_CP_INTC_IRQ,
};

int __init da830_register_gpio(void)
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-davinci/da850.c
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,6 @@ int __init da850_register_vpif_capture(struct vpif_capture_config

static struct davinci_gpio_platform_data da850_gpio_platform_data = {
.ngpio = 144,
.intc_irq_num = DA850_N_CP_INTC_IRQ,
};

int __init da850_register_gpio(void)
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-davinci/dm355.c
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,6 @@ static struct resource dm355_gpio_resources[] = {

static struct davinci_gpio_platform_data dm355_gpio_platform_data = {
.ngpio = 104,
.intc_irq_num = DAVINCI_N_AINTC_IRQ,
};

int __init dm355_gpio_register(void)
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-davinci/dm365.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,6 @@ static struct resource dm365_gpio_resources[] = {

static struct davinci_gpio_platform_data dm365_gpio_platform_data = {
.ngpio = 104,
.intc_irq_num = DAVINCI_N_AINTC_IRQ,
.gpio_unbanked = 8,
};

Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-davinci/dm644x.c
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,6 @@ static struct resource dm644_gpio_resources[] = {

static struct davinci_gpio_platform_data dm644_gpio_platform_data = {
.ngpio = 71,
.intc_irq_num = DAVINCI_N_AINTC_IRQ,
};

int __init dm644x_gpio_register(void)
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-davinci/dm646x.c
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,6 @@ static struct resource dm646x_gpio_resources[] = {

static struct davinci_gpio_platform_data dm646x_gpio_platform_data = {
.ngpio = 43,
.intc_irq_num = DAVINCI_N_AINTC_IRQ,
};

int __init dm646x_gpio_register(void)
Expand Down
1 change: 0 additions & 1 deletion include/linux/platform_data/gpio-davinci.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ enum davinci_gpio_type {
struct davinci_gpio_platform_data {
u32 ngpio;
u32 gpio_unbanked;
u32 intc_irq_num;
};


Expand Down

0 comments on commit d3422a1

Please sign in to comment.