imamnurby/smpl_train_seed8 huggingface dataset:
--- initial
+++ final
@@ -1,60 +1,60 @@
 static enum drm_connector_status nouveau_connector_detect_lvds(struct drm_connector *connector, bool force) {
   struct drm_device *dev = connector->dev;
   struct nouveau_drm *drm = nouveau_drm(dev);
   struct nouveau_connector *nv_connector = nouveau_connector(connector);
   struct nouveau_encoder *nv_encoder = NULL;
   enum drm_connector_status status = connector_status_disconnected;
   /* Cleanup the previous EDID block. */
   if (nv_connector->edid) {
-    drm_mode_connector_update_edid_property(connector, NULL);
+    drm_connector_update_edid_property(connector, NULL);
     kfree(nv_connector->edid);
     nv_connector->edid = NULL;
   }
   nv_encoder = find_encoder(connector, DCB_OUTPUT_LVDS);
   if (!nv_encoder) return connector_status_disconnected;
   /* Try retrieving EDID via DDC */
   if (!drm->vbios.fp_no_ddc) {
     status = nouveau_connector_detect(connector, force);
     if (status == connector_status_connected) goto out;
   }
   /* On some laptops (Sony, i'm looking at you) there appears to
    * be no direct way of accessing the panel's EDID.  The only
    * option available to us appears to be to ask ACPI for help..
    *
    * It's important this check's before trying straps, one of the
    * said manufacturer's laptops are configured in such a way
    * the nouveau decides an entry in the VBIOS FP mode table is
    * valid - it's not (rh#613284)
    */
   if (nv_encoder->dcb->lvdsconf.use_acpi_for_edid) {
     if ((nv_connector->edid = nouveau_acpi_edid(dev, connector))) {
       status = connector_status_connected;
       goto out;
     }
   }
   /* If no EDID found above, and the VBIOS indicates a hardcoded
    * modeline is avalilable for the panel, set it as the panel's
    * native mode and exit.
    */
   if (nouveau_bios_fp_mode(dev, NULL) && (drm->vbios.fp_no_ddc || nv_encoder->dcb->lvdsconf.use_straps_for_mode)) {
     status = connector_status_connected;
     goto out;
   }
   /* Still nothing, some VBIOS images have a hardcoded EDID block
    * stored for the panel stored in them.
    */
   if (!drm->vbios.fp_no_ddc) {
     struct edid *edid = (struct edid *)nouveau_bios_embedded_edid(dev);
     if (edid) {
       nv_connector->edid = kmemdup(edid, EDID_LENGTH, GFP_KERNEL);
       if (nv_connector->edid) status = connector_status_connected;
     }
   }
 out:
 #if defined(CONFIG_ACPI_BUTTON) || (defined(CONFIG_ACPI_BUTTON_MODULE) && defined(MODULE))
   if (status == connector_status_connected && !nouveau_ignorelid && !acpi_lid_open()) status = connector_status_unknown;
 #endif
-  drm_mode_connector_update_edid_property(connector, nv_connector->edid);
+  drm_connector_update_edid_property(connector, nv_connector->edid);
   nouveau_connector_set_encoder(connector, nv_encoder);
   return status;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,26 +1,26 @@
 static int ptn3460_get_modes(struct drm_connector *connector) {
   struct ptn3460_bridge *ptn_bridge;
   u8 *edid;
   int ret, num_modes = 0;
   bool power_off;
   ptn_bridge = connector_to_ptn3460(connector);
   if (ptn_bridge->edid) return drm_add_edid_modes(connector, ptn_bridge->edid);
   power_off = !ptn_bridge->enabled;
   ptn3460_pre_enable(&ptn_bridge->bridge);
   edid = kmalloc(EDID_LENGTH, GFP_KERNEL);
   if (!edid) {
     DRM_ERROR("Failed to allocate EDID\n");
     return 0;
   }
   ret = ptn3460_read_bytes(ptn_bridge, PTN3460_EDID_ADDR, edid, EDID_LENGTH);
   if (ret) {
     kfree(edid);
     goto out;
   }
   ptn_bridge->edid = (struct edid *)edid;
-  drm_mode_connector_update_edid_property(connector, ptn_bridge->edid);
+  drm_connector_update_edid_property(connector, ptn_bridge->edid);
   num_modes = drm_add_edid_modes(connector, ptn_bridge->edid);
 out:
   if (power_off) ptn3460_disable(&ptn_bridge->bridge);
   return num_modes;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,23 +1,23 @@
 static int oaktrail_hdmi_get_modes(struct drm_connector *connector) {
   struct i2c_adapter *i2c_adap;
   struct edid *edid;
   int ret = 0;
   /*
    *	FIXME: We need to figure this lot out. In theory we can
    *	read the EDID somehow but I've yet to find working reference
    *	code.
    */
   i2c_adap = i2c_get_adapter(3);
   if (i2c_adap == NULL) {
     DRM_ERROR("No ddc adapter available!\n");
     edid = (struct edid *)raw_edid;
   } else {
     edid = (struct edid *)raw_edid;
     /* FIXME ? edid = drm_get_edid(connector, i2c_adap); */
   }
   if (edid) {
-    drm_mode_connector_update_edid_property(connector, edid);
+    drm_connector_update_edid_property(connector, edid);
     ret = drm_add_edid_modes(connector, edid);
   }
   return ret;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,37 +1,37 @@
 static int omap_connector_get_modes(struct drm_connector *connector) {
   struct omap_connector *omap_connector = to_omap_connector(connector);
   struct omap_dss_device *dssdev = omap_connector->dssdev;
   struct omap_dss_driver *dssdrv = dssdev->driver;
   struct drm_device *dev = connector->dev;
   int n = 0;
   DBG("%s", omap_connector->dssdev->name);
   /* if display exposes EDID, then we parse that in the normal way to
    * build table of supported modes.. otherwise (ie. fixed resolution
    * LCD panels) we just return a single mode corresponding to the
    * currently configured timings:
    */
   if (dssdrv->read_edid) {
     void *edid = kzalloc(MAX_EDID, GFP_KERNEL);
     if (!edid) return 0;
     if ((dssdrv->read_edid(dssdev, edid, MAX_EDID) > 0) && drm_edid_is_valid(edid)) {
-      drm_mode_connector_update_edid_property(connector, edid);
+      drm_connector_update_edid_property(connector, edid);
       n = drm_add_edid_modes(connector, edid);
       omap_connector->hdmi_mode = drm_detect_hdmi_monitor(edid);
     } else {
-      drm_mode_connector_update_edid_property(connector, NULL);
+      drm_connector_update_edid_property(connector, NULL);
     }
     kfree(edid);
   } else {
     struct drm_display_mode *mode = drm_mode_create(dev);
     struct videomode vm = {0};
     if (!mode) return 0;
     dssdrv->get_timings(dssdev, &vm);
     drm_display_mode_from_videomode(&vm, mode);
     mode->type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED;
     drm_mode_set_name(mode);
     drm_mode_probed_add(connector, mode);
     if (dssdrv->get_size) { dssdrv->get_size(dssdev, &connector->display_info.width_mm, &connector->display_info.height_mm); }
     n = 1;
   }
   return n;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,24 +1,24 @@
 int tegra_output_connector_get_modes(struct drm_connector *connector) {
   struct tegra_output *output = connector_to_output(connector);
   struct edid *edid = NULL;
   int err = 0;
   /*
    * If the panel provides one or more modes, use them exclusively and
    * ignore any other means of obtaining a mode.
    */
   if (output->panel) {
     err = output->panel->funcs->get_modes(output->panel);
     if (err > 0) return err;
   }
   if (output->edid)
     edid = kmemdup(output->edid, sizeof(*edid), GFP_KERNEL);
   else if (output->ddc)
     edid = drm_get_edid(connector, output->ddc);
   cec_notifier_set_phys_addr_from_edid(output->notifier, edid);
-  drm_mode_connector_update_edid_property(connector, edid);
+  drm_connector_update_edid_property(connector, edid);
   if (edid) {
     err = drm_add_edid_modes(connector, edid);
     kfree(edid);
   }
   return err;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,16 +1,16 @@
 static int panel_simple_get_modes(struct drm_panel *panel) {
   struct panel_simple *p = to_panel_simple(panel);
   int num = 0;
   /* probe EDID if a DDC bus is available */
   if (p->ddc) {
     struct edid *edid = drm_get_edid(panel->connector, p->ddc);
-    drm_mode_connector_update_edid_property(panel->connector, edid);
+    drm_connector_update_edid_property(panel->connector, edid);
     if (edid) {
       num += drm_add_edid_modes(panel->connector, edid);
       kfree(edid);
     }
   }
   /* add hard-coded panel modes */
   num += panel_simple_get_fixed_modes(p);
   return num;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,24 +1,24 @@
 static int imx_pd_connector_get_modes(struct drm_connector *connector) {
   struct imx_parallel_display *imxpd = con_to_imxpd(connector);
   struct device_node *np = imxpd->dev->of_node;
   int num_modes = 0;
   if (imxpd->panel && imxpd->panel->funcs && imxpd->panel->funcs->get_modes) {
     num_modes = imxpd->panel->funcs->get_modes(imxpd->panel);
     if (num_modes > 0) return num_modes;
   }
   if (imxpd->edid) {
-    drm_mode_connector_update_edid_property(connector, imxpd->edid);
+    drm_connector_update_edid_property(connector, imxpd->edid);
     num_modes = drm_add_edid_modes(connector, imxpd->edid);
   }
   if (np) {
     struct drm_display_mode *mode = drm_mode_create(connector->dev);
     int ret;
     if (!mode) return -EINVAL;
     ret = of_get_drm_display_mode(np, &imxpd->mode, &imxpd->bus_flags, OF_USE_NATIVE_MODE);
     if (ret) return ret;
     drm_mode_copy(mode, &imxpd->mode);
     mode->type |= DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED, drm_mode_probed_add(connector, mode);
     num_modes++;
   }
   return num_modes;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,11 +1,11 @@
 int psb_intel_ddc_get_modes(struct drm_connector *connector, struct i2c_adapter *adapter) {
   struct edid *edid;
   int ret = 0;
   edid = drm_get_edid(connector, adapter);
   if (edid) {
-    drm_mode_connector_update_edid_property(connector, edid);
+    drm_connector_update_edid_property(connector, edid);
     ret = drm_add_edid_modes(connector, edid);
     kfree(edid);
   }
   return ret;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,22 +1,22 @@
 static void psb_intel_sdvo_get_ddc_modes(struct drm_connector *connector) {
   struct edid *edid;
   /* set the bus switch and get the modes */
   edid = psb_intel_sdvo_get_edid(connector);
   /*
    * Mac mini hack.  On this device, the DVI-I connector shares one DDC
    * link between analog and digital outputs. So, if the regular SDVO
    * DDC fails, check to see if the analog output is disconnected, in
    * which case we'll look there for the digital DDC data.
    */
   if (edid == NULL) edid = psb_intel_sdvo_get_analog_edid(connector);
   if (edid != NULL) {
     struct psb_intel_sdvo_connector *psb_intel_sdvo_connector = to_psb_intel_sdvo_connector(connector);
     bool monitor_is_digital = !!(edid->input & DRM_EDID_INPUT_DIGITAL);
     bool connector_is_digital = !!IS_TMDS(psb_intel_sdvo_connector);
     if (connector_is_digital == monitor_is_digital) {
-      drm_mode_connector_update_edid_property(connector, edid);
+      drm_connector_update_edid_property(connector, edid);
       drm_add_edid_modes(connector, edid);
     }
     kfree(edid);
   }
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,11 +1,11 @@
 static int radeon_ddc_get_modes(struct drm_connector *connector) {
   struct radeon_connector *radeon_connector = to_radeon_connector(connector);
   int ret;
   if (radeon_connector->edid) {
-    drm_mode_connector_update_edid_property(connector, radeon_connector->edid);
+    drm_connector_update_edid_property(connector, radeon_connector->edid);
     ret = drm_add_edid_modes(connector, radeon_connector->edid);
     return ret;
   }
-  drm_mode_connector_update_edid_property(connector, NULL);
+  drm_connector_update_edid_property(connector, NULL);
   return 0;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,16 +1,16 @@
 static int radeon_dp_mst_get_ddc_modes(struct drm_connector *connector) {
   struct radeon_connector *radeon_connector = to_radeon_connector(connector);
   struct radeon_connector *master = radeon_connector->mst_port;
   struct edid *edid;
   int ret = 0;
   edid = drm_dp_mst_get_edid(connector, &master->mst_mgr, radeon_connector->port);
   radeon_connector->edid = edid;
   DRM_DEBUG_KMS("edid retrieved %p\n", edid);
   if (radeon_connector->edid) {
-    drm_mode_connector_update_edid_property(&radeon_connector->base, radeon_connector->edid);
+    drm_connector_update_edid_property(&radeon_connector->base, radeon_connector->edid);
     ret = drm_add_edid_modes(&radeon_connector->base, radeon_connector->edid);
     return ret;
   }
-  drm_mode_connector_update_edid_property(&radeon_connector->base, NULL);
+  drm_connector_update_edid_property(&radeon_connector->base, NULL);
   return ret;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,56 +1,56 @@
 static int sii902x_get_modes(struct drm_connector *connector) {
   struct sii902x *sii902x = connector_to_sii902x(connector);
   struct regmap *regmap = sii902x->regmap;
   u32 bus_format = MEDIA_BUS_FMT_RGB888_1X24;
   struct device *dev = &sii902x->i2c->dev;
   unsigned long timeout;
   unsigned int retries;
   unsigned int status;
   struct edid *edid;
   int num = 0;
   int ret;
   ret = regmap_update_bits(regmap, SII902X_SYS_CTRL_DATA, SII902X_SYS_CTRL_DDC_BUS_REQ, SII902X_SYS_CTRL_DDC_BUS_REQ);
   if (ret) return ret;
   timeout = jiffies + msecs_to_jiffies(SII902X_I2C_BUS_ACQUISITION_TIMEOUT_MS);
   do {
     ret = regmap_read(regmap, SII902X_SYS_CTRL_DATA, &status);
     if (ret) return ret;
   } while (!(status & SII902X_SYS_CTRL_DDC_BUS_GRTD) && time_before(jiffies, timeout));
   if (!(status & SII902X_SYS_CTRL_DDC_BUS_GRTD)) {
     dev_err(dev, "failed to acquire the i2c bus\n");
     return -ETIMEDOUT;
   }
   ret = regmap_write(regmap, SII902X_SYS_CTRL_DATA, status);
   if (ret) return ret;
   edid = drm_get_edid(connector, sii902x->i2c->adapter);
-  drm_mode_connector_update_edid_property(connector, edid);
+  drm_connector_update_edid_property(connector, edid);
   if (edid) {
     num = drm_add_edid_modes(connector, edid);
     kfree(edid);
   }
   ret = drm_display_info_set_bus_formats(&connector->display_info, &bus_format, 1);
   if (ret) return ret;
   /*
    * Sometimes the I2C bus can stall after failure to use the
    * EDID channel. Retry a few times to see if things clear
    * up, else continue anyway.
    */
   retries = 5;
   do {
     ret = regmap_read(regmap, SII902X_SYS_CTRL_DATA, &status);
     retries--;
   } while (ret && retries);
   if (ret) dev_err(dev, "failed to read status (%d)\n", ret);
   ret = regmap_update_bits(regmap, SII902X_SYS_CTRL_DATA, SII902X_SYS_CTRL_DDC_BUS_REQ | SII902X_SYS_CTRL_DDC_BUS_GRTD, 0);
   if (ret) return ret;
   timeout = jiffies + msecs_to_jiffies(SII902X_I2C_BUS_ACQUISITION_TIMEOUT_MS);
   do {
     ret = regmap_read(regmap, SII902X_SYS_CTRL_DATA, &status);
     if (ret) return ret;
   } while (status & (SII902X_SYS_CTRL_DDC_BUS_REQ | SII902X_SYS_CTRL_DDC_BUS_GRTD) && time_before(jiffies, timeout));
   if (status & (SII902X_SYS_CTRL_DDC_BUS_REQ | SII902X_SYS_CTRL_DDC_BUS_GRTD)) {
     dev_err(dev, "failed to release the i2c bus\n");
     return -ETIMEDOUT;
   }
   return num;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,19 +1,19 @@
 static int sti_hdmi_connector_get_modes(struct drm_connector *connector) {
   struct sti_hdmi_connector *hdmi_connector = to_sti_hdmi_connector(connector);
   struct sti_hdmi *hdmi = hdmi_connector->hdmi;
   struct edid *edid;
   int count;
   DRM_DEBUG_DRIVER("\n");
   edid = drm_get_edid(connector, hdmi->ddc_adapt);
   if (!edid) goto fail;
   hdmi->hdmi_monitor = drm_detect_hdmi_monitor(edid);
   DRM_DEBUG_KMS("%s : %dx%d cm\n", (hdmi->hdmi_monitor ? "hdmi monitor" : "dvi monitor"), edid->width_cm, edid->height_cm);
   cec_notifier_set_phys_addr_from_edid(hdmi->notifier, edid);
   count = drm_add_edid_modes(connector, edid);
-  drm_mode_connector_update_edid_property(connector, edid);
+  drm_connector_update_edid_property(connector, edid);
   kfree(edid);
   return count;
 fail:
   DRM_ERROR("Can't read HDMI EDID\n");
   return 0;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,14 +1,14 @@
 static int sun4i_hdmi_get_modes(struct drm_connector *connector) {
   struct sun4i_hdmi *hdmi = drm_connector_to_sun4i_hdmi(connector);
   struct edid *edid;
   int ret;
   edid = drm_get_edid(connector, hdmi->i2c);
   if (!edid) return 0;
   hdmi->hdmi_monitor = drm_detect_hdmi_monitor(edid);
   DRM_DEBUG_DRIVER("Monitor is %s monitor\n", hdmi->hdmi_monitor ? "an HDMI" : "a DVI");
-  drm_mode_connector_update_edid_property(connector, edid);
+  drm_connector_update_edid_property(connector, edid);
   cec_s_phys_addr_from_edid(hdmi->cec_adap, edid);
   ret = drm_add_edid_modes(connector, edid);
   kfree(edid);
   return ret;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,16 +1,16 @@
 static int tc_connector_get_modes(struct drm_connector *connector) {
   struct tc_data *tc = connector_to_tc(connector);
   struct edid *edid;
   unsigned int count;
   if (tc->panel && tc->panel->funcs && tc->panel->funcs->get_modes) {
     count = tc->panel->funcs->get_modes(tc->panel);
     if (count > 0) return count;
   }
   edid = drm_get_edid(connector, &tc->aux.ddc);
   kfree(tc->edid);
   tc->edid = edid;
   if (!edid) return 0;
-  drm_mode_connector_update_edid_property(connector, edid);
+  drm_connector_update_edid_property(connector, edid);
   count = drm_add_edid_modes(connector, edid);
   return count;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,22 +1,22 @@
 static int tda998x_connector_get_modes(struct drm_connector *connector) {
   struct tda998x_priv *priv = conn_to_tda998x_priv(connector);
   struct edid *edid;
   int n;
   /*
    * If we get killed while waiting for the HPD timeout, return
    * no modes found: we are not in a restartable path, so we
    * can't handle signals gracefully.
    */
   if (tda998x_edid_delay_wait(priv)) return 0;
   if (priv->rev == TDA19988) reg_clear(priv, REG_TX4, TX4_PD_RAM);
   edid = drm_do_get_edid(connector, read_edid_block, priv);
   if (priv->rev == TDA19988) reg_set(priv, REG_TX4, TX4_PD_RAM);
   if (!edid) {
     dev_warn(&priv->hdmi->dev, "failed to read EDID\n");
     return 0;
   }
-  drm_mode_connector_update_edid_property(connector, edid);
+  drm_connector_update_edid_property(connector, edid);
   n = drm_add_edid_modes(connector, edid);
   kfree(edid);
   return n;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,19 +1,19 @@
 static int tfp410_get_modes(struct drm_connector *connector) {
   struct tfp410 *dvi = drm_connector_to_tfp410(connector);
   struct edid *edid;
   int ret;
   if (!dvi->ddc) goto fallback;
   edid = drm_get_edid(connector, dvi->ddc);
   if (!edid) {
     DRM_INFO("EDID read failed. Fallback to standard modes\n");
     goto fallback;
   }
-  drm_mode_connector_update_edid_property(connector, edid);
+  drm_connector_update_edid_property(connector, edid);
   return drm_add_edid_modes(connector, edid);
 fallback:
   /* No EDID, fallback on the XGA standard modes */
   ret = drm_add_modes_noedid(connector, 1920, 1200);
   /* And prefer a mode pretty much anything can handle */
   drm_set_preferred_mode(connector, 1024, 768);
   return ret;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,12 +1,12 @@
 static int tfp410_connector_get_modes(struct drm_connector *connector) {
   struct tfp410_connector *tfp410_connector = to_tfp410_connector(connector);
   struct edid *edid;
   int ret = 0;
   edid = drm_get_edid(connector, tfp410_connector->mod->i2c);
-  drm_mode_connector_update_edid_property(connector, edid);
+  drm_connector_update_edid_property(connector, edid);
   if (edid) {
     ret = drm_add_edid_modes(connector, edid);
     kfree(edid);
   }
   return ret;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,6 +1,6 @@
 static int udl_get_modes(struct drm_connector *connector) {
   struct udl_drm_connector *udl_connector = container_of(connector, struct udl_drm_connector, connector);
-  drm_mode_connector_update_edid_property(connector, udl_connector->edid);
+  drm_connector_update_edid_property(connector, udl_connector->edid);
   if (udl_connector->edid) return drm_add_edid_modes(connector, udl_connector->edid);
   return 0;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,18 +1,18 @@
 static int vc4_hdmi_connector_get_modes(struct drm_connector *connector) {
   struct vc4_hdmi_connector *vc4_connector = to_vc4_hdmi_connector(connector);
   struct drm_encoder *encoder = vc4_connector->encoder;
   struct vc4_hdmi_encoder *vc4_encoder = to_vc4_hdmi_encoder(encoder);
   struct drm_device *dev = connector->dev;
   struct vc4_dev *vc4 = to_vc4_dev(dev);
   int ret = 0;
   struct edid *edid;
   edid = drm_get_edid(connector, vc4->hdmi->ddc);
   cec_s_phys_addr_from_edid(vc4->hdmi->cec_adap, edid);
   if (!edid) return -ENODEV;
   vc4_encoder->hdmi_monitor = drm_detect_hdmi_monitor(edid);
   if (edid && edid->input & DRM_EDID_INPUT_DIGITAL) { vc4_encoder->rgb_range_selectable = drm_rgb_quant_range_selectable(edid); }
-  drm_mode_connector_update_edid_property(connector, edid);
+  drm_connector_update_edid_property(connector, edid);
   ret = drm_add_edid_modes(connector, edid);
   kfree(edid);
   return ret;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)
--- initial
+++ final
@@ -1,13 +1,13 @@
 static int zx_hdmi_connector_get_modes(struct drm_connector *connector) {
   struct zx_hdmi *hdmi = to_zx_hdmi(connector);
   struct edid *edid;
   int ret;
   edid = drm_get_edid(connector, &hdmi->ddc->adap);
   if (!edid) return 0;
   hdmi->sink_is_hdmi = drm_detect_hdmi_monitor(edid);
   hdmi->sink_has_audio = drm_detect_monitor_audio(edid);
-  drm_mode_connector_update_edid_property(connector, edid);
+  drm_connector_update_edid_property(connector, edid);
   ret = drm_add_edid_modes(connector, edid);
   kfree(edid);
   return ret;
 }<sep>@@
expression e1,e2;
@@
-       drm_mode_connector_update_edid_property
+       drm_connector_update_edid_property
		(e1,e2)