]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/bochs: Remove explicit drm_connector_register
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 15 Apr 2020 07:40:34 +0000 (09:40 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 28 Apr 2020 14:14:17 +0000 (16:14 +0200)
This is leftovers from the old drm_driver->load callback
upside-down issues. It doesn't do anything for not-hotplugged
connectors since drm_dev_register takes care of that.

Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: virtualization@lists.linux-foundation.org
Link: https://patchwork.freedesktop.org/patch/msgid/20200415074034.175360-60-daniel.vetter@ffwll.ch
drivers/gpu/drm/bochs/bochs_kms.c

index 7f4bcfad87e9111cbda31d197540878701478ad8..05d8373888e81d48250c618f2e821555436062c1 100644 (file)
@@ -104,7 +104,6 @@ static void bochs_connector_init(struct drm_device *dev)
                           DRM_MODE_CONNECTOR_VIRTUAL);
        drm_connector_helper_add(connector,
                                 &bochs_connector_connector_helper_funcs);
-       drm_connector_register(connector);
 
        bochs_hw_load_edid(bochs);
        if (bochs->edid) {