Skip to content

Commit

Permalink
ARM: ux500: remove irq_base property from platform_data
Browse files Browse the repository at this point in the history
AB8500 GPIO no longer handles its GPIO IRQs. Instead, the AB8500
core driver has taken back the responsibility. Prior to this
happening, the AB8500 GPIO driver provided a set of virtual IRQs
which were used as a pass-through. These virtual IRQs had a base
of MOP500_AB8500_VIR_GPIO_IRQ_BASE, which was passed though pdata.
We don't need to do this anymore, so we're pulling out the
property from the structure.

Cc: arm@kernel.org
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Lee Jones authored and Linus Walleij committed Feb 10, 2013
1 parent 43a255d commit 710a03e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion arch/arm/mach-ux500/board-mop500.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ static struct platform_device snowball_gpio_en_3v3_regulator_dev = {

static struct abx500_gpio_platform_data ab8500_gpio_pdata = {
.gpio_base = MOP500_AB8500_PIN_GPIO(1),
.irq_base = MOP500_AB8500_VIR_GPIO_IRQ_BASE,
};

/* ab8500-codec */
Expand Down
1 change: 0 additions & 1 deletion include/linux/mfd/abx500/ab8500-gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

struct abx500_gpio_platform_data {
int gpio_base;
u32 irq_base;
};

enum abx500_gpio_pull_updown {
Expand Down

0 comments on commit 710a03e

Please sign in to comment.