regulator: use of_property_read_{bool|u32}()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 26 May 2014 20:27:19 +0000 (00:27 +0400)
committerMark Brown <broonie@linaro.org>
Sun, 1 Jun 2014 10:56:23 +0000 (11:56 +0100)
commit1e050eabb622ca60640e4714b01cb3caa29505f0
tree6d631490e0b6350dd5770c17db492911b84013bf
parent13b3fde808ed287ad23c4549733fb3e3be785114
regulator: use of_property_read_{bool|u32}()

Use more compact of_property_read_{bool|u32}() calls instead of the
of_{find|get}_property() calls in of_get_regulation_constraints() where
possible (note that of_property_read_{bool|u32}() were already used to read
some properties).

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/of_regulator.c