]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit244c3b8f8c6d86a319fdd2884a855c51398b54fb
tree3acaa6d6a6d83372d7ebe56e8c10804a030e30e9
parente461c18856ee6c2c8bbb4fedc6df6651377d9d64
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