Skip to content

Commit 96f4418

Browse files
committed
drm/omap: drop unused owner field
dssdev->owner is set, but never used. We can drop the field. Signed-off-by: Tomi Valkeinen <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Sebastian Reichel <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 3201509 commit 96f4418

File tree

7 files changed

+0
-8
lines changed

7 files changed

+0
-8
lines changed

drivers/gpu/drm/omapdrm/dss/dpi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,6 @@ static int dpi_init_output_port(struct dpi_data *dpi, struct device_node *port)
641641
out->type = OMAP_DISPLAY_TYPE_DPI;
642642
out->dispc_channel = dpi_get_channel(dpi);
643643
out->of_port = port_num;
644-
out->owner = THIS_MODULE;
645644

646645
r = omapdss_device_init_output(out, &dpi->bridge);
647646
if (r < 0) {

drivers/gpu/drm/omapdrm/dss/dsi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5439,7 +5439,6 @@ static int dsi_init_output(struct dsi_data *dsi)
54395439
out->name = dsi->module_id == 0 ? "dsi.0" : "dsi.1";
54405440
out->dispc_channel = dsi_get_channel(dsi);
54415441
out->dsi_ops = &dsi_ops;
5442-
out->owner = THIS_MODULE;
54435442
out->of_port = 0;
54445443
out->bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE
54455444
| DRM_BUS_FLAG_DE_HIGH

drivers/gpu/drm/omapdrm/dss/hdmi4.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,6 @@ static int hdmi4_init_output(struct omap_hdmi *hdmi)
707707
out->type = OMAP_DISPLAY_TYPE_HDMI;
708708
out->name = "hdmi.0";
709709
out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT;
710-
out->owner = THIS_MODULE;
711710
out->of_port = 0;
712711

713712
r = omapdss_device_init_output(out, &hdmi->bridge);

drivers/gpu/drm/omapdrm/dss/hdmi5.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,6 @@ static int hdmi5_init_output(struct omap_hdmi *hdmi)
681681
out->type = OMAP_DISPLAY_TYPE_HDMI;
682682
out->name = "hdmi.0";
683683
out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT;
684-
out->owner = THIS_MODULE;
685684
out->of_port = 0;
686685

687686
r = omapdss_device_init_output(out, &hdmi->bridge);

drivers/gpu/drm/omapdrm/dss/omapdss.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,6 @@ struct omapdss_dsi_ops {
266266
struct omap_dss_device {
267267
struct device *dev;
268268

269-
struct module *owner;
270-
271269
struct dss_device *dss;
272270
struct drm_bridge *bridge;
273271
struct drm_bridge *next_bridge;

drivers/gpu/drm/omapdrm/dss/sdi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ static int sdi_init_output(struct sdi_device *sdi)
312312
out->dispc_channel = OMAP_DSS_CHANNEL_LCD;
313313
/* We have SDI only on OMAP3, where it's on port 1 */
314314
out->of_port = 1;
315-
out->owner = THIS_MODULE;
316315
out->bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE /* 15.5.9.1.2 */
317316
| DRM_BUS_FLAG_SYNC_DRIVE_POSEDGE;
318317

drivers/gpu/drm/omapdrm/dss/venc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,6 @@ static int venc_init_output(struct venc_device *venc)
733733
out->type = OMAP_DISPLAY_TYPE_VENC;
734734
out->name = "venc.0";
735735
out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT;
736-
out->owner = THIS_MODULE;
737736
out->of_port = 0;
738737

739738
r = omapdss_device_init_output(out, &venc->bridge);

0 commit comments

Comments
 (0)