]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
regulator: bd71815: Get rid of struct bd71815_pmic
authorAxel Lin <axel.lin@ingics.com>
Mon, 7 Jun 2021 14:30:02 +0000 (22:30 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 8 Jun 2021 12:37:46 +0000 (13:37 +0100)
commit0ea461b4f229739345870a086aa4647a16ff42ff
tree0738a786190a9dcd35b1c72d47140a9ef27d0faa
parentba6622c43381e7045f8bc5438089ae53054fdf83
regulator: bd71815: Get rid of struct bd71815_pmic

The content of bd71815_regulators is never changed, no need to duplicate
it, thus remove descs[BD71815_REGULATOR_CNT].
The *regmap, *dev and *rdev[BD71815_REGULATOR_CNT] are not really needed.
The *gps is unused.

Thus the struct bd71815_pmic can be removed.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/20210607143002.1600017-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/bd71815-regulator.c