File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
drivers/video/fbdev/omap2/omapfb/dss Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -117,19 +117,6 @@ u32 dss_of_port_get_port_number(struct device_node *port)
117
117
return reg ;
118
118
}
119
119
120
- static struct device_node * omapdss_of_get_remote_port (const struct device_node * node )
121
- {
122
- struct device_node * np ;
123
-
124
- np = of_graph_get_remote_endpoint (node );
125
- if (!np )
126
- return NULL ;
127
-
128
- np = of_get_next_parent (np );
129
-
130
- return np ;
131
- }
132
-
133
120
struct omap_dss_device *
134
121
omapdss_of_find_source_for_first_ep (struct device_node * node )
135
122
{
@@ -141,7 +128,7 @@ omapdss_of_find_source_for_first_ep(struct device_node *node)
141
128
if (!ep )
142
129
return ERR_PTR (- EINVAL );
143
130
144
- src_port = omapdss_of_get_remote_port (ep );
131
+ src_port = of_graph_get_remote_port (ep );
145
132
if (!src_port ) {
146
133
of_node_put (ep );
147
134
return ERR_PTR (- EINVAL );
You can’t perform that action at this time.
0 commit comments