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)
commita34785f10d33f70680941da284d7ec3a612aad1a
tree28c881c040d8101dac28b9591d1a38e75e8831d1
parent92e963f50fc74041b5e9e744c330dca48e04f08d
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