|
|
@@ -691,13 +691,6 @@ static void atmel_hlcdc_dc_unload(struct drm_device *dev)
|
|
|
destroy_workqueue(dc->wq);
|
|
|
}
|
|
|
|
|
|
-static void atmel_hlcdc_dc_connector_unplug_all(struct drm_device *dev)
|
|
|
-{
|
|
|
- mutex_lock(&dev->mode_config.mutex);
|
|
|
- drm_connector_unregister_all(dev);
|
|
|
- mutex_unlock(&dev->mode_config.mutex);
|
|
|
-}
|
|
|
-
|
|
|
static void atmel_hlcdc_dc_lastclose(struct drm_device *dev)
|
|
|
{
|
|
|
struct atmel_hlcdc_dc *dc = dev->dev_private;
|
|
|
@@ -830,7 +823,6 @@ static int atmel_hlcdc_dc_drm_remove(struct platform_device *pdev)
|
|
|
{
|
|
|
struct drm_device *ddev = platform_get_drvdata(pdev);
|
|
|
|
|
|
- atmel_hlcdc_dc_connector_unplug_all(ddev);
|
|
|
drm_dev_unregister(ddev);
|
|
|
atmel_hlcdc_dc_unload(ddev);
|
|
|
drm_dev_unref(ddev);
|