]> 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)
committerLee Jones <lee@kernel.org>
Tue, 19 Jul 2022 09:54:38 +0000 (10:54 +0100)
commit9de90edb7ccbe8eb08a70c68fbec16875cc4d197
tree7cd0c39b6c292d2554571539ad3bc930d14b8a89
parent761f835a9716b7150ac17950f5ae506140e81b0b
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: 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
drivers/mfd/t7l66xb.c
include/linux/mfd/t7l66xb.h