drm/omap: Remove unused omap_dss_find_output() function
The omap_dss_find_output() function is unused, remove it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
parent
b82f6cc6a7
commit
eb06225244
|
@ -630,7 +630,6 @@ int omap_dss_get_num_overlays(void);
|
||||||
int omapdss_register_output(struct omap_dss_device *output);
|
int omapdss_register_output(struct omap_dss_device *output);
|
||||||
void omapdss_unregister_output(struct omap_dss_device *output);
|
void omapdss_unregister_output(struct omap_dss_device *output);
|
||||||
struct omap_dss_device *omap_dss_get_output(enum omap_dss_output_id id);
|
struct omap_dss_device *omap_dss_get_output(enum omap_dss_output_id id);
|
||||||
struct omap_dss_device *omap_dss_find_output(const char *name);
|
|
||||||
struct omap_dss_device *omap_dss_find_output_by_port_node(struct device_node *port);
|
struct omap_dss_device *omap_dss_find_output_by_port_node(struct device_node *port);
|
||||||
int omapdss_output_set_device(struct omap_dss_device *out,
|
int omapdss_output_set_device(struct omap_dss_device *out,
|
||||||
struct omap_dss_device *dssdev);
|
struct omap_dss_device *dssdev);
|
||||||
|
|
|
@ -133,19 +133,6 @@ struct omap_dss_device *omap_dss_get_output(enum omap_dss_output_id id)
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(omap_dss_get_output);
|
EXPORT_SYMBOL(omap_dss_get_output);
|
||||||
|
|
||||||
struct omap_dss_device *omap_dss_find_output(const char *name)
|
|
||||||
{
|
|
||||||
struct omap_dss_device *out;
|
|
||||||
|
|
||||||
list_for_each_entry(out, &output_list, list) {
|
|
||||||
if (strcmp(out->name, name) == 0)
|
|
||||||
return omap_dss_get_device(out);
|
|
||||||
}
|
|
||||||
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
EXPORT_SYMBOL(omap_dss_find_output);
|
|
||||||
|
|
||||||
struct omap_dss_device *omap_dss_find_output_by_port_node(struct device_node *port)
|
struct omap_dss_device *omap_dss_find_output_by_port_node(struct device_node *port)
|
||||||
{
|
{
|
||||||
struct device_node *src_node;
|
struct device_node *src_node;
|
||||||
|
|
Loading…
Reference in New Issue