File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
drivers/video/fbdev/omap2/omapfb/dss Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1193,12 +1193,6 @@ static const struct component_master_ops dss_component_ops = {
1193
1193
.unbind = dss_unbind ,
1194
1194
};
1195
1195
1196
- static int dss_component_compare (struct device * dev , void * data )
1197
- {
1198
- struct device * child = data ;
1199
- return dev == child ;
1200
- }
1201
-
1202
1196
static int dss_add_child_component (struct device * dev , void * data )
1203
1197
{
1204
1198
struct component_match * * match = data ;
@@ -1212,7 +1206,7 @@ static int dss_add_child_component(struct device *dev, void *data)
1212
1206
if (strstr (dev_name (dev ), "rfbi" ))
1213
1207
return 0 ;
1214
1208
1215
- component_match_add (dev -> parent , match , dss_component_compare , dev );
1209
+ component_match_add (dev -> parent , match , component_compare_dev , dev );
1216
1210
1217
1211
return 0 ;
1218
1212
}
You can’t perform that action at this time.
0 commit comments