]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9b2d94d59953a6b36d1199adad8d97721427c167
tree6d631490e0b6350dd5770c17db492911b84013bf
parent4ef786dff992d6da38196cda67dcba73d82065ed
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