regulator: ltc3589: Get rid of struct ltc3589_regulator
authorAxel Lin <axel.lin@ingics.com>
Thu, 18 Apr 2019 11:44:59 +0000 (19:44 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 26 Apr 2019 09:38:20 +0000 (10:38 +0100)
commit63c7c2962ae715f3e1ed042db9046b36af637611
treed21159e3fbe86d20d600c134c040484dbf3f836c
parentce62ba3afd10cee12fb8f2f81853ae1e91e21387
regulator: ltc3589: Get rid of struct ltc3589_regulator

After converting to use simplified DT parsing, the struct ltc3589_regulator
only has a desc member. So let's remove struct ltc3589_regulator and use
struct regulator_desc instead.

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