drm: Remove dev->kdriver
With the last patch to ditch the ->get_name callbacks the last user is now gone. Reviewed-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
9de1b51f1f
commit
f93227759d
|
@ -364,7 +364,6 @@ int drm_pci_init(struct drm_driver *driver, struct pci_driver *pdriver)
|
|||
|
||||
DRM_DEBUG("\n");
|
||||
|
||||
driver->kdriver.pci = pdriver;
|
||||
driver->bus = &drm_pci_bus;
|
||||
|
||||
if (driver->driver_features & DRIVER_MODESET)
|
||||
|
|
|
@ -121,7 +121,6 @@ int drm_platform_init(struct drm_driver *driver, struct platform_device *platfor
|
|||
{
|
||||
DRM_DEBUG("\n");
|
||||
|
||||
driver->kdriver.platform_device = platform_device;
|
||||
driver->bus = &drm_platform_bus;
|
||||
return drm_get_platform_dev(platform_device, driver);
|
||||
}
|
||||
|
|
|
@ -51,7 +51,6 @@ int drm_usb_init(struct drm_driver *driver, struct usb_driver *udriver)
|
|||
int res;
|
||||
DRM_DEBUG("\n");
|
||||
|
||||
driver->kdriver.usb = udriver;
|
||||
driver->bus = &drm_usb_bus;
|
||||
|
||||
res = usb_register(udriver);
|
||||
|
|
|
@ -963,11 +963,6 @@ struct drm_driver {
|
|||
const struct drm_ioctl_desc *ioctls;
|
||||
int num_ioctls;
|
||||
const struct file_operations *fops;
|
||||
union {
|
||||
struct pci_driver *pci;
|
||||
struct platform_device *platform_device;
|
||||
struct usb_driver *usb;
|
||||
} kdriver;
|
||||
struct drm_bus *bus;
|
||||
|
||||
/* List of devices hanging off this driver with stealth attach. */
|
||||
|
|
Loading…
Reference in New Issue