drm: omapdrm: Remove unused omap_dss_find_device() function
The omap_dss_find_device() function is unused. Remove it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:

committed by
Tomi Valkeinen

parent
7fb15c480e
commit
2cd3e6834d
@@ -175,17 +175,3 @@ out:
|
||||
return dssdev;
|
||||
}
|
||||
EXPORT_SYMBOL(omap_dss_get_next_device);
|
||||
|
||||
struct omap_dss_device *omap_dss_find_device(void *data,
|
||||
int (*match)(struct omap_dss_device *dssdev, void *data))
|
||||
{
|
||||
struct omap_dss_device *dssdev = NULL;
|
||||
|
||||
while ((dssdev = omap_dss_get_next_device(dssdev)) != NULL) {
|
||||
if (match(dssdev, data))
|
||||
return dssdev;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
EXPORT_SYMBOL(omap_dss_find_device);
|
||||
|
Reference in New Issue
Block a user