mfd: twl: Remove platform data support
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 14 Jun 2022 15:21:48 +0000 (17:21 +0200)
committerLee Jones <lee@kernel.org>
Tue, 19 Jul 2022 09:54:40 +0000 (10:54 +0100)
commit4a346a03a63cb45f7766d9d6559cf3fee783e926
tree2c16237ea4720d09f7a3499903d2533f74012bf3
parent4907f6991ecbbbd0c18dcabaf87c6dc2537c3a9d
mfd: twl: Remove platform data support

There is no in-tree machine that provides a struct twl4030_platform_data
since commit e92fc4f04a34 ("ARM: OMAP2+: Drop legacy board file for
LDP"). So assume dev_get_platdata() returns NULL in twl_probe() and
simplify accordingly.

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/20220614152148.252820-1-u.kleine-koenig@pengutronix.de
drivers/mfd/twl-core.c
include/linux/mfd/twl.h