diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-06-14 18:23:38 +0300 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-07-19 10:56:51 +0300 |
commit | 2a1192ff0835cb4b0ccd6f6e85c93aa0dc6f66b7 (patch) | |
tree | c8f074467935c8b0fc8de7d34cca4506738d69ce /include/linux/mfd | |
parent | 31212be403585d118ec6c97c3abbf36e88439b30 (diff) | |
download | linux-2a1192ff0835cb4b0ccd6f6e85c93aa0dc6f66b7.tar.xz |
gpio: twl4030: Drop platform teardown callback
There is no machine providing a teardown callback, so drop the unused
code.
This is a preparation for making platform remove callbacks return void.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/twl.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mfd/twl.h b/include/linux/mfd/twl.h index 8871cc5188a0..c8cd31756037 100644 --- a/include/linux/mfd/twl.h +++ b/include/linux/mfd/twl.h @@ -594,8 +594,6 @@ struct twl4030_gpio_platform_data { int (*setup)(struct device *dev, unsigned gpio, unsigned ngpio); - int (*teardown)(struct device *dev, - unsigned gpio, unsigned ngpio); }; struct twl4030_madc_platform_data { |