aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c
diff options
context:
space:
mode:
authorFrank Rowand <frank.rowand@sony.com>2017-10-17 19:36:23 -0400
committerRob Herring <robh@kernel.org>2017-10-17 21:46:17 -0400
commit0290c4ca2536a35e55c53cfb9058465b1f987b17 (patch)
tree310203536e1dafb5cf6c0b8287e2ed83de0876ec /drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c
parentbbed8794d53b7043d7989e22bc2e1e399da305eb (diff)
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/gpu/drm/tilcdc/tilcdc_slave_compat.c')
-rw-r--r--drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c b/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c
index 623a9140493c..5f5b7ba35f1d 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c
@@ -247,9 +247,10 @@ static void __init tilcdc_convert_slave_node(void)
247 247
248 tilcdc_node_disable(slave); 248 tilcdc_node_disable(slave);
249 249
250 ret = of_overlay_create(overlay); 250 ret = of_overlay_apply(overlay);
251 if (ret) 251 if (ret)
252 pr_err("%s: Creating overlay failed: %d\n", __func__, ret); 252 pr_err("%s: Applying overlay changeset failed: %d\n",
253 __func__, ret);
253 else 254 else
254 pr_info("%s: ti,tilcdc,slave node successfully converted\n", 255 pr_info("%s: ti,tilcdc,slave node successfully converted\n",
255 __func__); 256 __func__);