projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bb652e
)
drm/tda998x: update for new drm connector APIs.
author
Dave Airlie
<airlied@redhat.com>
Tue, 5 Aug 2014 00:34:33 +0000
(10:34 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 5 Aug 2014 00:34:33 +0000
(10:34 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i2c/tda998x_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/gpu/drm/i2c/tda998x_drv.c
index e9ddab93a9d8da1015eceae731620a0ad585c545..d4762799351d9d5e67efbce0987e10c0e974939c 100644
(file)
--- 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;