Only user of this device type was struct dev_pm_ops of drm_class which was removed in d14d2a8453d6 ("drm: Remove dev_pm_ops from drm_class"). So remove this now unused device type. Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx> --- drivers/gpu/drm/drm_sysfs.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c index 3bc90fe5c..82e2d0c0d 100644 --- a/drivers/gpu/drm/drm_sysfs.c +++ b/drivers/gpu/drm/drm_sysfs.c @@ -50,10 +50,6 @@ * drm_connector_unregister(). */ -static struct device_type drm_sysfs_device_minor = { - .name = "drm_minor" -}; - static struct device_type drm_sysfs_device_connector = { .name = "drm_connector", }; @@ -531,7 +527,6 @@ struct device *drm_sysfs_minor_alloc(struct drm_minor *minor) kdev->devt = MKDEV(DRM_MAJOR, minor->index); kdev->class = drm_class; - kdev->type = &drm_sysfs_device_minor; } kdev->parent = minor->dev->dev; -- 2.47.0