All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: dri-devel@lists.freedesktop.org
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>,
	Sam Ravnborg <sam@ravnborg.org>,
	Sebastian Reichel <sebastian.reichel@collabora.com>,
	Boris Brezillon <bbrezillon@kernel.org>
Subject: [PATCH v5 52/52] drm/omap: dss: Remove unused omapdss_of_find_connected_device() function
Date: Fri, 24 Jan 2020 05:54:45 +0200	[thread overview]
Message-ID: <20200124035445.1830-53-laurent.pinchart@ideasonboard.com> (raw)
In-Reply-To: <20200124035445.1830-1-laurent.pinchart@ideasonboard.com>

The omapdss_of_find_connected_device() function isn't used anymore,
remove it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
---
 drivers/gpu/drm/omapdrm/dss/Makefile  |  2 +-
 drivers/gpu/drm/omapdrm/dss/dss-of.c  | 28 ---------------------------
 drivers/gpu/drm/omapdrm/dss/omapdss.h |  3 ---
 3 files changed, 1 insertion(+), 32 deletions(-)
 delete mode 100644 drivers/gpu/drm/omapdrm/dss/dss-of.c

diff --git a/drivers/gpu/drm/omapdrm/dss/Makefile b/drivers/gpu/drm/omapdrm/dss/Makefile
index 5950c3f52c2e..f967e6948f2e 100644
--- a/drivers/gpu/drm/omapdrm/dss/Makefile
+++ b/drivers/gpu/drm/omapdrm/dss/Makefile
@@ -2,7 +2,7 @@
 obj-$(CONFIG_OMAP2_DSS_INIT) += omapdss-boot-init.o
 
 obj-$(CONFIG_OMAP_DSS_BASE) += omapdss-base.o
-omapdss-base-y := base.o display.o dss-of.o output.o
+omapdss-base-y := base.o display.o output.o
 
 obj-$(CONFIG_OMAP2_DSS) += omapdss.o
 # Core DSS files
diff --git a/drivers/gpu/drm/omapdrm/dss/dss-of.c b/drivers/gpu/drm/omapdrm/dss/dss-of.c
deleted file mode 100644
index b7981f3b80ad..000000000000
--- a/drivers/gpu/drm/omapdrm/dss/dss-of.c
+++ /dev/null
@@ -1,28 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
- * Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
- */
-
-#include <linux/err.h>
-#include <linux/of.h>
-#include <linux/of_graph.h>
-
-#include "omapdss.h"
-
-struct omap_dss_device *
-omapdss_of_find_connected_device(struct device_node *node, unsigned int port)
-{
-	struct device_node *remote_node;
-	struct omap_dss_device *dssdev;
-
-	remote_node = of_graph_get_remote_node(node, port, 0);
-	if (!remote_node)
-		return NULL;
-
-	dssdev = omapdss_find_device_by_node(remote_node);
-	of_node_put(remote_node);
-
-	return dssdev ? dssdev : ERR_PTR(-EPROBE_DEFER);
-}
-EXPORT_SYMBOL_GPL(omapdss_of_find_connected_device);
diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h
index 6ecbc7273032..ab19d4af8de7 100644
--- a/drivers/gpu/drm/omapdrm/dss/omapdss.h
+++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h
@@ -471,9 +471,6 @@ static inline bool omapdss_device_is_enabled(struct omap_dss_device *dssdev)
 	return dssdev->state == OMAP_DSS_DISPLAY_ACTIVE;
 }
 
-struct omap_dss_device *
-omapdss_of_find_connected_device(struct device_node *node, unsigned int port);
-
 enum dss_writeback_channel {
 	DSS_WB_LCD1_MGR =	0,
 	DSS_WB_LCD2_MGR =	1,
-- 
Regards,

Laurent Pinchart

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

      parent reply	other threads:[~2020-01-24  3:56 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-24  3:53 [PATCH v5 00/52] drm/omap: Replace custom display drivers with drm_bridge and drm_panel Laurent Pinchart
2020-01-24  3:53 ` [PATCH v5 01/52] video: hdmi: Change return type of hdmi_avi_infoframe_init() to void Laurent Pinchart
2020-01-24  3:53 ` [PATCH v5 02/52] drm/connector: Add helper to get a connector type name Laurent Pinchart
2020-01-24  3:53 ` [PATCH v5 03/52] drm/edid: Add flag to drm_display_info to identify HDMI sinks Laurent Pinchart
2020-01-24  3:53 ` [PATCH v5 04/52] drm/bridge: Add connector-related bridge operations and data Laurent Pinchart
2020-01-24  3:53 ` [PATCH v5 05/52] drm/bridge: Add interlace_allowed flag to drm_bridge Laurent Pinchart
2020-01-24  3:53 ` [PATCH v5 06/52] drm/bridge: Extend bridge API to disable connector creation Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 07/52] drm/bridge: dumb-vga-dac: Rename internal symbols to simple-bridge Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 08/52] drm/bridge: dumb-vga-dac: Rename driver " Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 09/52] drm/bridge: simple-bridge: Add support for non-VGA bridges Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 10/52] drm/bridge: simple-bridge: Add support for enable GPIO Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 11/52] drm/bridge: simple-bridge: Add support for the TI OPA362 Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 12/52] drm/bridge: Add bridge driver for display connectors Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 13/52] drm/bridge: Add driver for the TI TPD12S015 HDMI level shifter Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 14/52] drm/bridge: panel: Implement bridge connector operations Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 15/52] drm/bridge: tfp410: Replace manual connector handling with bridge Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 16/52] drm/bridge: tfp410: Allow operation without drm_connector Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 17/52] drm: Add helper to create a connector for a chain of bridges Laurent Pinchart
2020-01-28 11:19   ` Tomi Valkeinen
2020-02-16 15:39     ` Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 18/52] drm/omap: Fix possible object reference leak Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 19/52] drm/omap: dss: Cleanup DSS ports on initialisation failure Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 20/52] drm/omap: Simplify HDMI mode and infoframe configuration Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 21/52] drm/omap: Factor out display type to connector type conversion Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 22/52] drm/omap: Use the drm_panel_bridge API Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 23/52] drm/omap: dss: Fix output next device lookup in DT Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 24/52] drm/omap: Add infrastructure to support drm_bridge local to DSS outputs Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 25/52] drm/omap: dss: Make omap_dss_device_ops optional Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 26/52] drm/omap: hdmi: Allocate EDID in the .read_edid() operation Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 27/52] drm/omap: hdmi4: Rework EDID read to isolate data read Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 28/52] drm/omap: hdmi5: " Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 29/52] drm/omap: hdmi4: Register a drm_bridge for EDID read Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 30/52] drm/omap: hdmi5: " Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 31/52] drm/omap: hdmi4: Move mode set, enable and disable operations to bridge Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 32/52] drm/omap: hdmi5: " Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 33/52] drm/omap: hdmi4: Implement drm_bridge .hpd_notify() operation Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 34/52] drm/omap: dss: Remove .set_hdmi_mode() and .set_infoframe() operations Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 35/52] drm/omap: venc: Register a drm_bridge Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 36/52] drm/omap: Create connector for bridges Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 37/52] drm/omap: Switch the HDMI and VENC outputs to drm_bridge Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 38/52] drm/omap: Remove HPD, detect and EDID omapdss operations Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 39/52] drm/omap: hdmi: Remove omap_dss_device operations Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 40/52] drm/omap: venc: " Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 41/52] drm/omap: hdmi4: Simplify EDID read Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 42/52] drm/omap: hdmi5: " Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 43/52] drm/omap: dpi: Sort includes alphabetically Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 44/52] drm/omap: dpi: Reorder functions in sections Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 45/52] drm/omap: dpi: Simplify clock setting API Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 46/52] drm/omap: dpi: Register a drm_bridge Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 47/52] drm/omap: sdi: Sort includes alphabetically Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 48/52] drm/omap: sdi: Register a drm_bridge Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 49/52] drm/omap: Hardcode omap_connector type to DSI Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 50/52] drm/omap: dss: Remove unused omap_dss_device operations Laurent Pinchart
2020-01-24  3:54 ` [PATCH v5 51/52] drm/omap: dss: Inline the omapdss_display_get() function Laurent Pinchart
2020-01-24  3:54 ` Laurent Pinchart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200124035445.1830-53-laurent.pinchart@ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=bbrezillon@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=sam@ravnborg.org \
    --cc=sebastian.reichel@collabora.com \
    --cc=tomi.valkeinen@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.