Commit 6e1f1b1c authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Lee Jones

mfd: tc6387xb: Drop disable callback that is never called

The driver never calls the disable callback, so drop the member from
the platform struct and all callbacks from the actual platform datas.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220530192430.2108217-4-u.kleine-koenig@pengutronix.de
parent 128ac294
...@@ -139,7 +139,6 @@ static void __init __maybe_unused eseries_register_clks(void) ...@@ -139,7 +139,6 @@ static void __init __maybe_unused eseries_register_clks(void)
static struct tc6387xb_platform_data e330_tc6387xb_info = { static struct tc6387xb_platform_data e330_tc6387xb_info = {
.enable = &eseries_tmio_enable, .enable = &eseries_tmio_enable,
.disable = &eseries_tmio_disable,
.suspend = &eseries_tmio_suspend, .suspend = &eseries_tmio_suspend,
.resume = &eseries_tmio_resume, .resume = &eseries_tmio_resume,
}; };
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
struct tc6387xb_platform_data { struct tc6387xb_platform_data {
int (*enable)(struct platform_device *dev); int (*enable)(struct platform_device *dev);
int (*disable)(struct platform_device *dev);
int (*suspend)(struct platform_device *dev); int (*suspend)(struct platform_device *dev);
int (*resume)(struct platform_device *dev); int (*resume)(struct platform_device *dev);
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment