]> www.infradead.org Git - users/dwmw2/linux.git/commit
mfd: t7l66xb: Drop platform disable callback
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 30 May 2022 19:24:28 +0000 (21:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2022 13:16:09 +0000 (15:16 +0200)
commit52ae9c15997228622a5732783ce4090a2ea30f8c
tree5379e9d46bddabaf801823db24b272ed8ffb7584
parent5a0e3350c29ee3e80b38bbf93dfad0754ae14706
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>
drivers/mfd/t7l66xb.c
include/linux/mfd/t7l66xb.h