Skip to content

Commit 45e8422

Browse files
Linus WalleijLee Jones
authored andcommitted
mfd: ab8500: Delete all GPIO platform data instances
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>
1 parent 28b4c29 commit 45e8422

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

‎include/linux/mfd/abx500/ab8500-gpio.h‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@
88
#ifndef _AB8500_GPIO_H
99
#define _AB8500_GPIO_H
1010

11-
/*
12-
* Platform data to register a block: only the initial gpio/irq number.
13-
* Array sizes are large enough to contain all AB8500 and AB9540 GPIO
14-
* registers.
15-
*/
16-
17-
struct abx500_gpio_platform_data {
18-
int gpio_base;
19-
};
20-
2111
enum abx500_gpio_pull_updown {
2212
ABX500_GPIO_PULL_DOWN = 0x0,
2313
ABX500_GPIO_PULL_NONE = 0x1,

‎include/linux/mfd/abx500/ab8500.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ struct ab8500 {
368368
};
369369

370370
struct ab8500_regulator_platform_data;
371-
struct ab8500_gpio_platform_data;
372371
struct ab8500_codec_platform_data;
373372
struct ab8500_sysctrl_platform_data;
374373

@@ -382,7 +381,6 @@ struct ab8500_platform_data {
382381
int irq_base;
383382
void (*init) (struct ab8500 *);
384383
struct ab8500_regulator_platform_data *regulator;
385-
struct abx500_gpio_platform_data *gpio;
386384
struct ab8500_codec_platform_data *codec;
387385
struct ab8500_sysctrl_platform_data *sysctrl;
388386
};

0 commit comments

Comments
 (0)