]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: stpmic1: Remove regul_id and *regmap from struct stpmic1_regulator
authorAxel Lin <axel.lin@ingics.com>
Thu, 14 Feb 2019 01:59:56 +0000 (09:59 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 18 Feb 2019 18:28:06 +0000 (18:28 +0000)
commitf5873f04e913f4c5a9ae078349f6460ea99064ed
tree90ef9a965bffdccf767c0ecfd6b65b795909f24b
parent8160a801eb1b6ce673457d9c61b308df72a607a8
regulator: stpmic1: Remove regul_id and *regmap from struct stpmic1_regulator

At the context with *rdev available, regulator core provides
rdev_get_id()/rdev_get_regmap() APIs to get regulator id and *regmap.
So no need to store them in struct stpmic1_regulator.

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