drm: add register and unregister functions for connectors

Introduce generic functions to register and unregister connectors. This
provides a common place to add and remove associated user space
interfaces.

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
此提交包含在:
Thomas Wood
2014-05-29 16:57:41 +01:00
提交者 Daniel Vetter
父節點 c3e25ae34f
當前提交 34ea3d3863
共有 49 個檔案被更改,包括 110 行新增82 行删除

查看文件

@@ -1680,5 +1680,5 @@ intel_tv_init(struct drm_device *dev)
drm_object_attach_property(&connector->base,
dev->mode_config.tv_bottom_margin_property,
intel_tv->margin[TV_MARGIN_BOTTOM]);
drm_sysfs_connector_add(connector);
drm_connector_register(connector);
}