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)
commitef541f73d1a87723a9f5bcc76669c98d20292cfa
tree90ef9a965bffdccf767c0ecfd6b65b795909f24b
parent55e72728cd2dd9f9cd1cec92c4171aa63d000c30
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