regulator: vexpress: Get rid of struct vexpress_regulator
authorAxel Lin <axel.lin@ingics.com>
Mon, 29 Apr 2019 11:35:41 +0000 (19:35 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 2 May 2019 02:16:04 +0000 (11:16 +0900)
commiteeb1b2355a6f06c4995ce282e247afffb946d983
treed37d8f4903f839186b640dbacbadc6f449e6aa75
parentfb9bf5c8f15c98f96c6b80208113aa91fba83c8a
regulator: vexpress: Get rid of struct vexpress_regulator

The *regdev and *regmap can be replaced by local variables in probe().
Only desc of struct vexpress_regulator is really need, so just use
struct regulator_desc directly and remove struct vexpress_regulator.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/vexpress-regulator.c