of: add __of_add_property() without lock operations
authorXiubo Li <Li.Xiubo@freescale.com>
Wed, 22 Jan 2014 05:57:39 +0000 (13:57 +0800)
committerGrant Likely <grant.likely@linaro.org>
Tue, 4 Feb 2014 17:21:07 +0000 (17:21 +0000)
commit62664f67775fad840cf6f68d6b5f428817bef6c5
treeb05d5f8fba0b95c6abc92a4c1389de725d483aa5
parente3963fd60a83967573f6330c9db134bd581da746
of: add __of_add_property() without lock operations

There two places will use the same code for adding one new property to
the DT node. Adding __of_add_property() and prepare for fixing
of_update_property()'s bug.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/base.c