regulator: twl-regulator: rework fixed regulator definition
authorNicolae Rosia <Nicolae_Rosia@mentor.com>
Sat, 12 Nov 2016 12:42:14 +0000 (14:42 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 16 Nov 2016 18:03:39 +0000 (18:03 +0000)
commitdab780a3b489b038a47d8fbbc49c33aae1e7a682
treec9599a6970c187f95f7875d2a3e948f05cef1e45
parent1001354ca34179f3db924eb66672442a173147dc
regulator: twl-regulator: rework fixed regulator definition

TWL603X and TWL4030 are different and have different code logic.
Rework the regulator definition method so we can split the file
easily in twl4030 and twl6030.

Signed-off-by: Nicolae Rosia <Nicolae_Rosia@mentor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/twl-regulator.c