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: NXiubo Li <Li.Xiubo@freescale.com> Signed-off-by: NGrant Likely <grant.likely@linaro.org>
Showing
想要评论请 注册 或 登录