drm: Change the return type of the unload hook to void
[linux-2.6-microblaze.git] / drivers / gpu / drm / fsl-dcu / fsl_dcu_drm_drv.c
index 9a31711..4870524 100644 (file)
@@ -116,7 +116,7 @@ done:
        return ret;
 }
 
-static int fsl_dcu_unload(struct drm_device *dev)
+static void fsl_dcu_unload(struct drm_device *dev)
 {
        struct fsl_dcu_drm_device *fsl_dev = dev->dev_private;
 
@@ -131,8 +131,6 @@ static int fsl_dcu_unload(struct drm_device *dev)
        drm_irq_uninstall(dev);
 
        dev->dev_private = NULL;
-
-       return 0;
 }
 
 static irqreturn_t fsl_dcu_drm_irq(int irq, void *arg)