Skip to content

Commit

Permalink
drm/tda998x: update for new drm connector APIs.
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Aug 5, 2014
1 parent 8bb652e commit 74cd62e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/i2c/tda998x_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1498,7 +1498,7 @@ tda998x_connector_detect(struct drm_connector *connector, bool force)

static void tda998x_connector_destroy(struct drm_connector *connector)
{
drm_sysfs_connector_remove(connector);
drm_connector_unregister(connector);
drm_connector_cleanup(connector);
}

Expand Down Expand Up @@ -1550,7 +1550,7 @@ static int tda998x_bind(struct device *dev, struct device *master, void *data)
if (ret)
goto err_connector;

ret = drm_sysfs_connector_add(&priv->connector);
ret = drm_connector_register(&priv->connector);
if (ret)
goto err_sysfs;

Expand Down

0 comments on commit 74cd62e

Please sign in to comment.