aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/property.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-11-30 10:11:34 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-12-06 20:29:23 -0500
commit1d656fb757c17e48a8a01bd576d14918701ba55c (patch)
treed1a1641e9f612af5c62e156b0dc953c4b7c11431 /include/linux/property.h
parenta85f420475334caed12b057ddcaa0b58e0b1ebb7 (diff)
device property: improve readability of macros
There is no functional change. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/property.h')
-rw-r--r--include/linux/property.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/property.h b/include/linux/property.h
index e4f29d8b9ceb..d1cf2084c648 100644
--- a/include/linux/property.h
+++ b/include/linux/property.h
@@ -73,8 +73,8 @@ int fwnode_property_match_string(struct fwnode_handle *fwnode,
73struct fwnode_handle *device_get_next_child_node(struct device *dev, 73struct fwnode_handle *device_get_next_child_node(struct device *dev,
74 struct fwnode_handle *child); 74 struct fwnode_handle *child);
75 75
76#define device_for_each_child_node(dev, child) \ 76#define device_for_each_child_node(dev, child) \
77 for (child = device_get_next_child_node(dev, NULL); child; \ 77 for (child = device_get_next_child_node(dev, NULL); child; \
78 child = device_get_next_child_node(dev, child)) 78 child = device_get_next_child_node(dev, child))
79 79
80void fwnode_handle_put(struct fwnode_handle *fwnode); 80void fwnode_handle_put(struct fwnode_handle *fwnode);