diff options
Diffstat (limited to 'drivers/gpu/drm/shmobile/shmob_drm_drv.c')
-rw-r--r-- | drivers/gpu/drm/shmobile/shmob_drm_drv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/shmobile/shmob_drm_drv.c b/drivers/gpu/drm/shmobile/shmob_drm_drv.c index 38dd55f4af81..33cec3d42389 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_drv.c +++ b/drivers/gpu/drm/shmobile/shmob_drm_drv.c | |||
@@ -104,7 +104,7 @@ static int shmob_drm_setup_clocks(struct shmob_drm_device *sdev, | |||
104 | * DRM operations | 104 | * DRM operations |
105 | */ | 105 | */ |
106 | 106 | ||
107 | static int shmob_drm_unload(struct drm_device *dev) | 107 | static void shmob_drm_unload(struct drm_device *dev) |
108 | { | 108 | { |
109 | drm_kms_helper_poll_fini(dev); | 109 | drm_kms_helper_poll_fini(dev); |
110 | drm_mode_config_cleanup(dev); | 110 | drm_mode_config_cleanup(dev); |
@@ -112,8 +112,6 @@ static int shmob_drm_unload(struct drm_device *dev) | |||
112 | drm_irq_uninstall(dev); | 112 | drm_irq_uninstall(dev); |
113 | 113 | ||
114 | dev->dev_private = NULL; | 114 | dev->dev_private = NULL; |
115 | |||
116 | return 0; | ||
117 | } | 115 | } |
118 | 116 | ||
119 | static int shmob_drm_load(struct drm_device *dev, unsigned long flags) | 117 | static int shmob_drm_load(struct drm_device *dev, unsigned long flags) |