]> git.baikalelectronics.ru Git - kernel.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>
Wed, 17 Aug 2022 12:24:09 +0000 (14:24 +0200)
commitec318ccd58af93e31f17517c3c1f771c86216db2
treebc702af5a96c1c1352e11aca6df7cc57178bb05f
parent5448e5f0b848f85c2c1ab79d5c0df76350eb928b
mfd: t7l66xb: Drop platform disable callback

[ Upstream commit 9de90edb7ccbe8eb08a70c68fbec16875cc4d197 ]

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: 005405a34b2b ("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