]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/regulator/88pm800-regulator.c
regulator: 88pm800: Get rid of struct pm800_regulators
authorAxel Lin <axel.lin@ingics.com>
Thu, 14 Mar 2019 11:55:19 +0000 (19:55 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 15 Mar 2019 16:29:21 +0000 (16:29 +0000)
commit6cabb8b7fc1428eb573f426a17a853d81227d095
tree3acaa6d6a6d83372d7ebe56e8c10804a030e30e9
parentdfeb7a93bf3b26e6779e0b38b25877c0540652e6
regulator: 88pm800: Get rid of struct pm800_regulators

The struct pm800_regulators only has 2 members: *chip and *map.
The pm800_data->chip is not used. The pm800_data->map is not necessary.
Thus remove the struct pm800_regulators.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/88pm800.c