diff options
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_drv.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_drv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index 739180ac3da5..3ec053542e93 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c | |||
@@ -186,7 +186,7 @@ err_free_private: | |||
186 | return ret; | 186 | return ret; |
187 | } | 187 | } |
188 | 188 | ||
189 | static int exynos_drm_unload(struct drm_device *dev) | 189 | static void exynos_drm_unload(struct drm_device *dev) |
190 | { | 190 | { |
191 | exynos_drm_device_subdrv_remove(dev); | 191 | exynos_drm_device_subdrv_remove(dev); |
192 | 192 | ||
@@ -200,8 +200,6 @@ static int exynos_drm_unload(struct drm_device *dev) | |||
200 | 200 | ||
201 | kfree(dev->dev_private); | 201 | kfree(dev->dev_private); |
202 | dev->dev_private = NULL; | 202 | dev->dev_private = NULL; |
203 | |||
204 | return 0; | ||
205 | } | 203 | } |
206 | 204 | ||
207 | static int commit_is_pending(struct exynos_drm_private *priv, u32 crtcs) | 205 | static int commit_is_pending(struct exynos_drm_private *priv, u32 crtcs) |