Commit 76bba2cd authored by Daniel Vetter's avatar Daniel Vetter

drm/udl: Remove dummy busid callback

Since

commit ca8e2ad7
Author: Thierry Reding <treding@nvidia.com>
Date:   Fri Apr 11 15:23:00 2014 +0200

    drm: Introduce drm_dev_set_unique()

the ->set_busid callback is optional. On top of that the udl one isn't
really fully compliant with the drm uabi, but since only modesetting
ever binds to it (there's no 3d accel on udl) it doesn't matter.

Still, can't harm to aling and use the default used by everyone else.
Acked-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170524145212.27837-4-daniel.vetter@ffwll.ch
parent ca814b25
...@@ -11,11 +11,6 @@ ...@@ -11,11 +11,6 @@
#include <drm/drm_crtc_helper.h> #include <drm/drm_crtc_helper.h>
#include "udl_drv.h" #include "udl_drv.h"
static int udl_driver_set_busid(struct drm_device *d, struct drm_master *m)
{
return 0;
}
static int udl_usb_suspend(struct usb_interface *interface, static int udl_usb_suspend(struct usb_interface *interface,
pm_message_t message) pm_message_t message)
{ {
...@@ -52,7 +47,6 @@ static struct drm_driver driver = { ...@@ -52,7 +47,6 @@ static struct drm_driver driver = {
.driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME, .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME,
.load = udl_driver_load, .load = udl_driver_load,
.unload = udl_driver_unload, .unload = udl_driver_unload,
.set_busid = udl_driver_set_busid,
/* gem hooks */ /* gem hooks */
.gem_free_object = udl_gem_free_object, .gem_free_object = udl_gem_free_object,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment