]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/base/regmap/regmap.c
regmap: adds missing braces in regmap_init()
authorDaeseok Youn <daeseok.youn@gmail.com>
Tue, 1 Apr 2014 10:46:43 +0000 (19:46 +0900)
committerMark Brown <broonie@linaro.org>
Tue, 1 Apr 2014 11:09:08 +0000 (12:09 +0100)
commita7a037c837cb0f9d011cb3ca6e6837989986570c
tree83be0b112f0311eb8cfdf9152f3a3dd380d236e6
parent6cfec04bcc05a829179c02584bb55f28fee03795
regmap: adds missing braces in regmap_init()

It need to add curly braces because the inner for "if" has
two statements.

coccicheck says:
 drivers/base/regmap/regmap.c:765:2-44:
code aligned with following code on line 766

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/regmap/regmap.c