summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/tc3589x.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-12-15 10:39:47 +0100
committerLinus Walleij <linus.walleij@linaro.org>2015-01-15 17:23:19 +0100
commit53e41f554a0cbad139ee5072bbb49b4951f680c2 (patch)
tree2d4b4b63885c54337f0f25369628f98f6f116c36 /include/linux/mfd/tc3589x.h
parent5b6a342ba9594f1636f85e4c58004d87de9570ab (diff)
downloadlinux-53e41f554a0cbad139ee5072bbb49b4951f680c2.tar.bz2
gpio: tc3589x: get rid of platform data
This device is only used from the device tree, and the startup() and remove() callbacks are not used anywhere in the kernel, so retire them and the pdata altogether. Cc: Samuel Ortiz <sameo@linux.intel.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/mfd/tc3589x.h')
-rw-r--r--include/linux/mfd/tc3589x.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/mfd/tc3589x.h b/include/linux/mfd/tc3589x.h
index e1c12d84c26a..c203c9c56776 100644
--- a/include/linux/mfd/tc3589x.h
+++ b/include/linux/mfd/tc3589x.h
@@ -163,24 +163,12 @@ struct tc3589x_keypad_platform_data {
};
/**
- * struct tc3589x_gpio_platform_data - TC3589x GPIO platform data
- * @setup: callback for board-specific initialization
- * @remove: callback for board-specific teardown
- */
-struct tc3589x_gpio_platform_data {
- void (*setup)(struct tc3589x *tc3589x, unsigned gpio_base);
- void (*remove)(struct tc3589x *tc3589x, unsigned gpio_base);
-};
-
-/**
* struct tc3589x_platform_data - TC3589x platform data
* @block: bitmask of blocks to enable (use TC3589x_BLOCK_*)
- * @gpio: GPIO-specific platform data
* @keypad: keypad-specific platform data
*/
struct tc3589x_platform_data {
unsigned int block;
- struct tc3589x_gpio_platform_data *gpio;
const struct tc3589x_keypad_platform_data *keypad;
};