diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-11-30 10:11:34 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-12-06 20:29:23 -0500 |
commit | 1d656fb757c17e48a8a01bd576d14918701ba55c (patch) | |
tree | d1a1641e9f612af5c62e156b0dc953c4b7c11431 /include/linux/property.h | |
parent | a85f420475334caed12b057ddcaa0b58e0b1ebb7 (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.h | 4 |
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, | |||
73 | struct fwnode_handle *device_get_next_child_node(struct device *dev, | 73 | struct 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 | ||
80 | void fwnode_handle_put(struct fwnode_handle *fwnode); | 80 | void fwnode_handle_put(struct fwnode_handle *fwnode); |