staging/vboxvideo: Refactor vbox_update_mode_hints
authorHans de Goede <hdegoede@redhat.com>
Mon, 4 Mar 2019 16:47:23 +0000 (17:47 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 11 Mar 2019 16:31:14 +0000 (17:31 +0100)
commite5361b4b2b654ae7f0779de331ccd68e4970e401
treedb772e407dcf5939f7834f73a590075424428647
parentdcf7000bef40fdffc8369faa373a1468e98d8c5c
staging/vboxvideo: Refactor vbox_update_mode_hints

Refactor vbox_update_mode_hints to no longer use the obsolete
drm_modeset_lock_all() and switch it over to drm_connector_list_iter
instead of directly accessing the list using list_for_each_entry.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190304164724.10210-3-hdegoede@redhat.com
drivers/staging/vboxvideo/vbox_irq.c