]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: of: Use of_property_read_u32() for reading min/max
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 10 Mar 2016 12:12:47 +0000 (17:42 +0530)
committerMark Brown <broonie@kernel.org>
Sat, 12 Mar 2016 05:59:33 +0000 (12:59 +0700)
commitd3ac5a4312b8dc8ecedd6125af18c64c980b34d6
tree28c881c040d8101dac28b9591d1a38e75e8831d1
parentd7e15052ecc9ac4f938d1d7432c1d120a2711a7e
regulator: of: Use of_property_read_u32() for reading min/max

OF interface provides to read the u32 value via standard interface
of_property_read_u32(). Use this API to read "regulator-min-microvolts"
and "regulator-max-microvolt".

This will make consistent with other property value reads.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/of_regulator.c