Commit 74cd62ea authored by Dave Airlie's avatar Dave Airlie

drm/tda998x: update for new drm connector APIs.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 8bb652eb
...@@ -1498,7 +1498,7 @@ tda998x_connector_detect(struct drm_connector *connector, bool force) ...@@ -1498,7 +1498,7 @@ tda998x_connector_detect(struct drm_connector *connector, bool force)
static void tda998x_connector_destroy(struct drm_connector *connector) static void tda998x_connector_destroy(struct drm_connector *connector)
{ {
drm_sysfs_connector_remove(connector); drm_connector_unregister(connector);
drm_connector_cleanup(connector); drm_connector_cleanup(connector);
} }
...@@ -1550,7 +1550,7 @@ static int tda998x_bind(struct device *dev, struct device *master, void *data) ...@@ -1550,7 +1550,7 @@ static int tda998x_bind(struct device *dev, struct device *master, void *data)
if (ret) if (ret)
goto err_connector; goto err_connector;
ret = drm_sysfs_connector_add(&priv->connector); ret = drm_connector_register(&priv->connector);
if (ret) if (ret)
goto err_sysfs; goto err_sysfs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment