regulator: ab8500: Remove unused platform data
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 5 Dec 2020 00:40:56 +0000 (01:40 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 13 Jan 2021 11:36:18 +0000 (11:36 +0000)
commitc512150b266b5d173c5ba841e9c09e4830ea4eca
treeaf7b9e5f25ed1e6575cfbfb7b3b68cce22ab3ef1
parent90fd840e72770a37f677d4bc9c53f8bf018cd45d
regulator: ab8500: Remove unused platform data

The struct ab8500_regulator_platform_data was a leftover
since the days before we probed all regulators from the
device tree. The ab8500-ext regulator was the only used,
defining platform data and register intialization that
was never used for anything, a copy of a boardfile no
longer in use.

Delete the ab8500_regulator_platform_data and make the
ab8500-ext regulator reference the regulator init data
in the local file directly. We are 100% device tree
these days.

Cc: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20201205004057.1712753-1-linus.walleij@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/ab8500-ext.c
include/linux/mfd/abx500/ab8500.h
include/linux/regulator/ab8500.h