]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/omap: drop unused owner field
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 Dec 2020 10:46:25 +0000 (12:46 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 Dec 2020 14:08:27 +0000 (16:08 +0200)
dssdev->owner is set, but never used. We can drop the field.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201215104657.802264-53-tomi.valkeinen@ti.com
drivers/gpu/drm/omapdrm/dss/dpi.c
drivers/gpu/drm/omapdrm/dss/dsi.c
drivers/gpu/drm/omapdrm/dss/hdmi4.c
drivers/gpu/drm/omapdrm/dss/hdmi5.c
drivers/gpu/drm/omapdrm/dss/omapdss.h
drivers/gpu/drm/omapdrm/dss/sdi.c
drivers/gpu/drm/omapdrm/dss/venc.c

index 1d2992daef4097e6e323389866c42809c81ba95e..030f997eccd00d258f40d5ea535a6ab2da29c629 100644 (file)
@@ -641,7 +641,6 @@ static int dpi_init_output_port(struct dpi_data *dpi, struct device_node *port)
        out->type = OMAP_DISPLAY_TYPE_DPI;
        out->dispc_channel = dpi_get_channel(dpi);
        out->of_port = port_num;
-       out->owner = THIS_MODULE;
 
        r = omapdss_device_init_output(out, &dpi->bridge);
        if (r < 0) {
index aeea113e9bbc1f1756a32213b61d60a380c462e8..f5972f0bce0b6a67c4d5fd9d6b1118f237708ffe 100644 (file)
@@ -5439,7 +5439,6 @@ static int dsi_init_output(struct dsi_data *dsi)
        out->name = dsi->module_id == 0 ? "dsi.0" : "dsi.1";
        out->dispc_channel = dsi_get_channel(dsi);
        out->dsi_ops = &dsi_ops;
-       out->owner = THIS_MODULE;
        out->of_port = 0;
        out->bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE
                       | DRM_BUS_FLAG_DE_HIGH
index 8de41e74e8f8e3ce92729eed01d50c8deb366e5f..35b750cebaebfa840d4d26f00ca8550dcc7d8214 100644 (file)
@@ -707,7 +707,6 @@ static int hdmi4_init_output(struct omap_hdmi *hdmi)
        out->type = OMAP_DISPLAY_TYPE_HDMI;
        out->name = "hdmi.0";
        out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT;
-       out->owner = THIS_MODULE;
        out->of_port = 0;
 
        r = omapdss_device_init_output(out, &hdmi->bridge);
index 54e5cb5aa52de9263ef7420fc523f8906aec3b49..65085d886da5cd204a6bd500ddab68d055169b25 100644 (file)
@@ -681,7 +681,6 @@ static int hdmi5_init_output(struct omap_hdmi *hdmi)
        out->type = OMAP_DISPLAY_TYPE_HDMI;
        out->name = "hdmi.0";
        out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT;
-       out->owner = THIS_MODULE;
        out->of_port = 0;
 
        r = omapdss_device_init_output(out, &hdmi->bridge);
index ed20779fd0755cc51427165e9bd312cb843abfa7..2428acdf477d8eb435f75481e651acac079ef426 100644 (file)
@@ -266,8 +266,6 @@ struct omapdss_dsi_ops {
 struct omap_dss_device {
        struct device *dev;
 
-       struct module *owner;
-
        struct dss_device *dss;
        struct drm_bridge *bridge;
        struct drm_bridge *next_bridge;
index 282e4c837cd930e5b29bd85ec74020f19aff7ed7..91eaae3b948121cb52eb037bd3cb1d17357df979 100644 (file)
@@ -312,7 +312,6 @@ static int sdi_init_output(struct sdi_device *sdi)
        out->dispc_channel = OMAP_DSS_CHANNEL_LCD;
        /* We have SDI only on OMAP3, where it's on port 1 */
        out->of_port = 1;
-       out->owner = THIS_MODULE;
        out->bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE     /* 15.5.9.1.2 */
                       | DRM_BUS_FLAG_SYNC_DRIVE_POSEDGE;
 
index d92df480180e5ff491d2e8ac769c9efc863a0d2b..e522c17955d04f677db8c4c3fc25f759bab69871 100644 (file)
@@ -733,7 +733,6 @@ static int venc_init_output(struct venc_device *venc)
        out->type = OMAP_DISPLAY_TYPE_VENC;
        out->name = "venc.0";
        out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT;
-       out->owner = THIS_MODULE;
        out->of_port = 0;
 
        r = omapdss_device_init_output(out, &venc->bridge);