summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2022-05-30 21:24:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-25 11:15:23 +0200
commit74cefa84d51f0302684086a7d80b9d526dd8ac16 (patch)
tree24b3b018506b7147feb788a2b5fd6d690ff36706 /include/linux
parent2cff35bb4573cbdbf1e0a405539dc9680004abe8 (diff)
downloadlinux-stable-74cefa84d51f0302684086a7d80b9d526dd8ac16.tar.gz
linux-stable-74cefa84d51f0302684086a7d80b9d526dd8ac16.tar.bz2
linux-stable-74cefa84d51f0302684086a7d80b9d526dd8ac16.zip
mfd: t7l66xb: Drop platform disable callback
[ Upstream commit 128ac294e1b437cb8a7f2ff8ede1cde9082bddbe ] 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 Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mfd/t7l66xb.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mfd/t7l66xb.h b/include/linux/mfd/t7l66xb.h
index b4629818aea5..d4e7f0453c91 100644
--- a/include/linux/mfd/t7l66xb.h
+++ b/include/linux/mfd/t7l66xb.h
@@ -16,7 +16,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);