dt: reform for_each_property to for_each_property_of_node
authorDong Aisheng <dong.aisheng@linaro.org>
Thu, 22 Dec 2011 12:19:24 +0000 (20:19 +0800)
committerRob Herring <rob.herring@calxeda.com>
Tue, 27 Dec 2011 16:57:37 +0000 (10:57 -0600)
commit8af0da93da7c40526959ab5291964581c678d3e7
tree15e7be8b0b0f1dcd46af14b680b5487a4452e501
parent7b482c8360d368fd495685a2c69ca4f1e7b29764
dt: reform for_each_property to for_each_property_of_node

Make this macro easier to use(do not need to pass properties, a node is
enough), also change to a more sensible name as for_each_child_of_node.

Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
drivers/of/base.c
include/linux/of.h