aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-08-04 20:34:33 -0400
committerDave Airlie <airlied@redhat.com>2014-08-04 20:34:33 -0400
commit74cd62ea46f19c41ef20a85792414973ba629cde (patch)
treedd573bf643a3d197cabd2642a336cd584bd17e4b
parent8bb652eb38e50ce4e8709fbfd9e73f9d11ac3ff6 (diff)
drm/tda998x: update for new drm connector APIs.
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/i2c/tda998x_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c
index e9ddab93a9d8..d4762799351d 100644
--- a/drivers/gpu/drm/i2c/tda998x_drv.c
+++ b/drivers/gpu/drm/i2c/tda998x_drv.c
@@ -1498,7 +1498,7 @@ tda998x_connector_detect(struct drm_connector *connector, bool force)
1498 1498
1499static void tda998x_connector_destroy(struct drm_connector *connector) 1499static void tda998x_connector_destroy(struct drm_connector *connector)
1500{ 1500{
1501 drm_sysfs_connector_remove(connector); 1501 drm_connector_unregister(connector);
1502 drm_connector_cleanup(connector); 1502 drm_connector_cleanup(connector);
1503} 1503}
1504 1504
@@ -1550,7 +1550,7 @@ static int tda998x_bind(struct device *dev, struct device *master, void *data)
1550 if (ret) 1550 if (ret)
1551 goto err_connector; 1551 goto err_connector;
1552 1552
1553 ret = drm_sysfs_connector_add(&priv->connector); 1553 ret = drm_connector_register(&priv->connector);
1554 if (ret) 1554 if (ret)
1555 goto err_sysfs; 1555 goto err_sysfs;
1556 1556