mfd: ab8500: Delete all GPIO platform data instances
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Dec 2013 14:50:34 +0000 (15:50 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 21 Jan 2014 08:27:40 +0000 (08:27 +0000)
This deletes all instances where the AB8500 GPIO platform
data is passed around. It is completely unused in the kernel
now, so it does not hurt anyone.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/mfd/abx500/ab8500-gpio.h
include/linux/mfd/abx500/ab8500.h

index 172b2f2..ebef068 100644 (file)
@@ -8,16 +8,6 @@
 #ifndef _AB8500_GPIO_H
 #define _AB8500_GPIO_H
 
-/*
- * Platform data to register a block: only the initial gpio/irq number.
- * Array sizes are large enough to contain all AB8500 and AB9540 GPIO
- * registers.
- */
-
-struct abx500_gpio_platform_data {
-       int gpio_base;
-};
-
 enum abx500_gpio_pull_updown {
        ABX500_GPIO_PULL_DOWN = 0x0,
        ABX500_GPIO_PULL_NONE = 0x1,
index f4acd89..a86ca14 100644 (file)
@@ -368,7 +368,6 @@ struct ab8500 {
 };
 
 struct ab8500_regulator_platform_data;
-struct ab8500_gpio_platform_data;
 struct ab8500_codec_platform_data;
 struct ab8500_sysctrl_platform_data;
 
@@ -382,7 +381,6 @@ struct ab8500_platform_data {
        int irq_base;
        void (*init) (struct ab8500 *);
        struct ab8500_regulator_platform_data *regulator;
-       struct abx500_gpio_platform_data *gpio;
        struct ab8500_codec_platform_data *codec;
        struct ab8500_sysctrl_platform_data *sysctrl;
 };