diff options
author | Jakob Hauser <jahau@rocketmail.com> | 2023-05-15 23:57:16 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-06-08 20:17:38 +0300 |
commit | 49b435908b2aeb0f3a8a5256256019594a5adc1c (patch) | |
tree | 01f64772e815f04b3e5485a098d500da7e4a1cde /drivers/tty/serial | |
parent | b7653853d5b12637c16b5ca5c8bab39b486bfe99 (diff) | |
download | linux-49b435908b2aeb0f3a8a5256256019594a5adc1c.tar.xz |
power: supply: rt5033_battery: Move struct rt5033_battery to battery driver
Move struct rt5033_battery from the mfd header into the battery driver because
it's not used by others.
Within struct rt5033_battery, remove the line "struct rt5033_dev *rt5033;"
because it doesn't get used.
In rt5033.h, remove #include <linux/power_supply.h>, it's not necessary
anymore.
In rt5033_battery.c, remove #include <linux/mfd/rt5033.h>, it's not necessary
anymore either. Instead add #include <linux/regmap.h> and
Signed-off-by: Jakob Hauser <jahau@rocketmail.com>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/736e1cbee257853cb3d1da6f05c184e9a053263b.1684182964.git.jahau@rocketmail.com
Diffstat (limited to 'drivers/tty/serial')
0 files changed, 0 insertions, 0 deletions