regulator: arizona-ldo1: Factor out generic initialization
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Tue, 18 Apr 2017 10:43:54 +0000 (11:43 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 25 Apr 2017 15:36:57 +0000 (16:36 +0100)
commitaf367afafb5ba7ae26defd35e4ba42cfe157ef72
tree4d985aca444caae40644186ce044e648bc0593a8
parent80a55f41aef4ee808f53f1a356491d7eaeefdd3c
regulator: arizona-ldo1: Factor out generic initialization

In preparation for sharing this driver with Madera codecs, factor out
the parts of initialization that aren't dependent on struct arizona.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/arizona-ldo1.c