projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
998140d
)
drm/sun4i: use of_graph_get_remote_endpoint()
author
Kuninori Morimoto
<
[email protected]
>
Thu, 10 Aug 2017 04:36:43 +0000
(
04:36
+0000)
committer
Maxime Ripard
<
[email protected]
>
Wed, 23 Aug 2017 14:28:39 +0000
(16:28 +0200)
Now, we can use of_graph_get_remote_endpoint(). Let's use it.
Signed-off-by: Kuninori Morimoto <
[email protected]
>
Signed-off-by: Maxime Ripard <
[email protected]
>
drivers/gpu/drm/sun4i/sun4i_backend.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/sun4i/sun4i_backend.c
b/drivers/gpu/drm/sun4i/sun4i_backend.c
index cf480218daa509bacb90daf4f83b7f22c2b23511..ec5943627aa5be396ead89bd6871c64b75e9c3fd 100644
(file)
--- a/
drivers/gpu/drm/sun4i/sun4i_backend.c
+++ b/
drivers/gpu/drm/sun4i/sun4i_backend.c
@@
-312,7
+312,7
@@
static int sun4i_backend_of_get_id(struct device_node *node)
struct device_node *remote;
u32 reg;
- remote = of_
parse_phandle(ep, "remote-endpoint", 0
);
+ remote = of_
graph_get_remote_endpoint(ep
);
if (!remote)
continue;