diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2021-03-12 09:36:02 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-03-22 15:55:38 +0100 |
commit | 417c0fc24dd4dbd60d94fa8deb36bf1176930e06 (patch) | |
tree | 9df5032371604c42ae56394520419e970dce6704 /mm/memory.c | |
parent | power: ab8500: Require device tree (diff) | |
download | linux-417c0fc24dd4dbd60d94fa8deb36bf1176930e06.tar.xz linux-417c0fc24dd4dbd60d94fa8deb36bf1176930e06.zip |
mfd/power: ab8500: Push data to power supply code
The global definition of platform data for the battery
management code has no utility after the OF conversion,
move the <linux/mfd/abx500/ab8500-bm.h> to be a local
file in drivers/power/supply and stop defining the
platform data in drivers/power/supply/ab8500_bmdata.c
and broadcast to the kernel only to have it assigned
as platform data to the MFD cells and then picked back
into the same subsystem that defined it in the first
place. This kills off a layer of indirection.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions