regulator: max77843: Reduce duplication of regulator_desc initializers
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Sat, 18 Apr 2015 11:27:18 +0000 (20:27 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 27 Apr 2015 17:58:52 +0000 (18:58 +0100)
commitec03c08dd14d832f1456527c9da70ed014268b4b
tree11d6bab50e805e17d6e590e854f7a1f402bd863b
parentb787f68c36d49bb1d9236f403813641efa74a031
regulator: max77843: Reduce duplication of regulator_desc initializers

Replace duplicated SAFEOUT regulators initializers in array of struct
'regulator_desc' arrays with macro. Generated object is the same but
SAFEOUT is described only once.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77843.c