aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ab8500-core.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-11-05 10:10:29 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-11 17:35:03 -0500
commit8ae754ebd5edffa0b2a2bafa4879a9ace01d5477 (patch)
treeeff6e7834b1c4c1171391c26ca383ee2175ae8b8 /drivers/mfd/ab8500-core.c
parentaec17ea1ee78923f1287c18e9905c19e4dfd9c64 (diff)
mfd: ab8500-core: Remove unused ab8500-gpio IRQ ranges
The IRQ ranges provided in ab8500-core to be passed on to the ab8500-gpio driver are not only redundant, but they are also causing a warning in the boot log. These IRQ ranges, like any other MFD related IRQ resource are passed though MFD core for automatic conversion to virtual IRQs; however, MFD core does not support IRQ mapping of IRQ ranges. Let's just remove them. Acked-by: Arnd Bergmann <arnd@arndb.de> Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/ab8500-core.c')
-rw-r--r--drivers/mfd/ab8500-core.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c
index 1667c77b5cde..e7197fe7059a 100644
--- a/drivers/mfd/ab8500-core.c
+++ b/drivers/mfd/ab8500-core.c
@@ -591,38 +591,6 @@ int ab8500_suspend(struct ab8500 *ab8500)
591 return 0; 591 return 0;
592} 592}
593 593
594/* AB8500 GPIO Resources */
595static struct resource __devinitdata ab8500_gpio_resources[] = {
596 {
597 .name = "GPIO_INT6",
598 .start = AB8500_INT_GPIO6R,
599 .end = AB8500_INT_GPIO41F,
600 .flags = IORESOURCE_IRQ,
601 }
602};
603
604/* AB9540 GPIO Resources */
605static struct resource __devinitdata ab9540_gpio_resources[] = {
606 {
607 .name = "GPIO_INT6",
608 .start = AB8500_INT_GPIO6R,
609 .end = AB8500_INT_GPIO41F,
610 .flags = IORESOURCE_IRQ,
611 },
612 {
613 .name = "GPIO_INT14",
614 .start = AB9540_INT_GPIO50R,
615 .end = AB9540_INT_GPIO54R,
616 .flags = IORESOURCE_IRQ,
617 },
618 {
619 .name = "GPIO_INT15",
620 .start = AB9540_INT_GPIO50F,
621 .end = AB9540_INT_GPIO54F,
622 .flags = IORESOURCE_IRQ,
623 }
624};
625
626static struct resource __devinitdata ab8500_gpadc_resources[] = { 594static struct resource __devinitdata ab8500_gpadc_resources[] = {
627 { 595 {
628 .name = "HW_CONV_END", 596 .name = "HW_CONV_END",
@@ -1065,8 +1033,6 @@ static struct mfd_cell __devinitdata ab8500_devs[] = {
1065 { 1033 {
1066 .name = "ab8500-gpio", 1034 .name = "ab8500-gpio",
1067 .of_compatible = "stericsson,ab8500-gpio", 1035 .of_compatible = "stericsson,ab8500-gpio",
1068 .num_resources = ARRAY_SIZE(ab8500_gpio_resources),
1069 .resources = ab8500_gpio_resources,
1070 }, 1036 },
1071 { 1037 {
1072 .name = "ab8500-usb", 1038 .name = "ab8500-usb",
@@ -1083,8 +1049,6 @@ static struct mfd_cell __devinitdata ab8500_devs[] = {
1083static struct mfd_cell __devinitdata ab9540_devs[] = { 1049static struct mfd_cell __devinitdata ab9540_devs[] = {
1084 { 1050 {
1085 .name = "ab8500-gpio", 1051 .name = "ab8500-gpio",
1086 .num_resources = ARRAY_SIZE(ab9540_gpio_resources),
1087 .resources = ab9540_gpio_resources,
1088 }, 1052 },
1089 { 1053 {
1090 .name = "ab9540-usb", 1054 .name = "ab9540-usb",