diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-05-30 21:24:28 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-07-19 10:54:38 +0100 |
commit | 128ac294e1b437cb8a7f2ff8ede1cde9082bddbe (patch) | |
tree | 7cd0c39b6c292d2554571539ad3bc930d14b8a89 /include/linux/mfd | |
parent | 2598f6ec5471f127092dfbb161fcb2db1e6d7807 (diff) |
mfd: t7l66xb: Drop platform disable callback
None of the in-tree instantiations of struct t7l66xb_platform_data
provides a disable callback. So better don't dereference this function
pointer unconditionally. As there is no user, drop it completely instead
of calling it conditional.
This is a preparation for making platform remove callbacks return void.
Fixes: 1f192015ca5b ("mfd: driver for the T7L66XB TMIO SoC")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220530192430.2108217-3-u.kleine-koenig@pengutronix.de
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/t7l66xb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mfd/t7l66xb.h b/include/linux/mfd/t7l66xb.h index 69632c1b07bd..ae3e7a5c5219 100644 --- a/include/linux/mfd/t7l66xb.h +++ b/include/linux/mfd/t7l66xb.h @@ -12,7 +12,6 @@ struct t7l66xb_platform_data { int (*enable)(struct platform_device *dev); - int (*disable)(struct platform_device *dev); int (*suspend)(struct platform_device *dev); int (*resume)(struct platform_device *dev); |