summaryrefslogtreecommitdiffstats
path: root/drivers/of/dynamic.c
diff options
context:
space:
mode:
authorFrank Rowand <frank.rowand@sony.com>2017-10-18 01:36:23 +0200
committerRob Herring <robh@kernel.org>2017-10-18 03:46:17 +0200
commit0290c4ca2536a35e55c53cfb9058465b1f987b17 (patch)
tree310203536e1dafb5cf6c0b8287e2ed83de0876ec /drivers/of/dynamic.c
parentof: overlay.c: Convert comparisons to zero or NULL to logical expressions (diff)
downloadlinux-0290c4ca2536a35e55c53cfb9058465b1f987b17.tar.xz
linux-0290c4ca2536a35e55c53cfb9058465b1f987b17.zip
of: overlay: rename identifiers to more reflect what they do
This patch is aimed primarily at drivers/of/overlay.c, but those changes also have a small impact in a few other files. overlay.c is difficult to read and maintain. Improve readability: - Rename functions, types and variables to better reflect what they do and to be consistent with names in other places, such as the device tree overlay FDT (flattened device tree), and make the algorithms more clear - Use the same names consistently throughout the file - Update comments for name changes - Fix incorrect comments This patch is intended to not introduce any functional change. Signed-off-by: Frank Rowand <frank.rowand@sony.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/dynamic.c')
-rw-r--r--drivers/of/dynamic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/dynamic.c b/drivers/of/dynamic.c
index 39e8cf731764..4bc96af4d8e2 100644
--- a/drivers/of/dynamic.c
+++ b/drivers/of/dynamic.c
@@ -758,7 +758,7 @@ int of_changeset_revert(struct of_changeset *ocs)
EXPORT_SYMBOL_GPL(of_changeset_revert);
/**
- * of_changeset_action - Perform a changeset action
+ * of_changeset_action - Add an action to the tail of the changeset list
*
* @ocs: changeset pointer
* @action: action to perform