From: Dave Airlie Date: Tue, 5 Aug 2014 00:34:33 +0000 (+1000) Subject: drm/tda998x: update for new drm connector APIs. X-Git-Tag: MMI-PSA29.97-13-9~11757^2~14 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=74cd62ea46f19c41ef20a85792414973ba629cde;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/tda998x: update for new drm connector APIs. Signed-off-by: Dave Airlie --- 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) static void tda998x_connector_destroy(struct drm_connector *connector) { - drm_sysfs_connector_remove(connector); + drm_connector_unregister(connector); drm_connector_cleanup(connector); } @@ -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;