[Openchrome-devel] drm-openchrome: Branch 'drm-next-4.13' - drivers/gpu/drm

Kevin Brace kevinbrace at kemper.freedesktop.org
Fri Aug 4 13:14:50 UTC 2017


 drivers/gpu/drm/openchrome/via_drv.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d00ccb94013e55c15d3d462ea73451c86cfb294e
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Fri Aug 4 06:14:19 2017 -0700

    Make via_driver_unload not to return a value
    
    Could not find the commit ID that eliminated the return type.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/drivers/gpu/drm/openchrome/via_drv.c b/drivers/gpu/drm/openchrome/via_drv.c
index f4eaba4319da..3fd2bbf28892 100644
--- a/drivers/gpu/drm/openchrome/via_drv.c
+++ b/drivers/gpu/drm/openchrome/via_drv.c
@@ -257,7 +257,7 @@ exit:
     return ret;
 }
 
-static int via_driver_unload(struct drm_device *dev)
+static void via_driver_unload(struct drm_device *dev)
 {
 	struct via_device *dev_priv = dev->dev_private;
 	struct ttm_buffer_object *bo;
@@ -265,7 +265,7 @@ static int via_driver_unload(struct drm_device *dev)
 
 	ret = via_dma_cleanup(dev);
 	if (ret)
-		return ret;
+		return;
 
 	drm_irq_uninstall(dev);
 
@@ -308,7 +308,7 @@ static int via_driver_unload(struct drm_device *dev)
 		drm_agp_release(dev);
 #endif
 	kfree(dev_priv);
-	return ret;
+	return;
 }
 
 static int


More information about the Openchrome-devel mailing list