File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
drivers/gpu/drm/omapdrm/dss Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1344,12 +1344,6 @@ static const struct component_master_ops dss_component_ops = {
1344
1344
.unbind = dss_unbind ,
1345
1345
};
1346
1346
1347
- static int dss_component_compare (struct device * dev , void * data )
1348
- {
1349
- struct device * child = data ;
1350
- return dev == child ;
1351
- }
1352
-
1353
1347
struct dss_component_match_data {
1354
1348
struct device * dev ;
1355
1349
struct component_match * * match ;
@@ -1379,7 +1373,7 @@ static int dss_add_child_component(struct device *dev, void *data)
1379
1373
return device_for_each_child (dev , cmatch ,
1380
1374
dss_add_child_component );
1381
1375
1382
- component_match_add (cmatch -> dev , match , dss_component_compare , dev );
1376
+ component_match_add (cmatch -> dev , match , component_compare_dev , dev );
1383
1377
1384
1378
return 0 ;
1385
1379
}
You can’t perform that action at this time.
0 commit comments