regulator: max14577: Use regulator_nodes/of_match in the descriptor
authorBeomho Seo <beomho.seo@samsung.com>
Fri, 19 Dec 2014 09:04:46 +0000 (18:04 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 22 Dec 2014 12:11:43 +0000 (12:11 +0000)
commite951ceef65f76d6c611a4afa65dfc9420a3123f4
tree100494ff52730830c839fe4b6c4283f825c1d8f6
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
regulator: max14577: Use regulator_nodes/of_match in the descriptor

This patch is add regulator_nodes/ofmatch in the regulator descriptor
for using information from DT instead of specific codes.
That will be used regulation_of_get_init_data function for get regulator
property on device tree. Using that make driver simpler.

Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max14577.c