Merge drm/drm-next into drm-misc-next
[linux-2.6-microblaze.git] / drivers / video / fbdev / hecubafb.c
index 72308d4..7ce0a16 100644 (file)
@@ -279,7 +279,7 @@ err_videomem_alloc:
        return retval;
 }
 
-static int hecubafb_remove(struct platform_device *dev)
+static void hecubafb_remove(struct platform_device *dev)
 {
        struct fb_info *info = platform_get_drvdata(dev);
 
@@ -293,12 +293,11 @@ static int hecubafb_remove(struct platform_device *dev)
                module_put(par->board->owner);
                framebuffer_release(info);
        }
-       return 0;
 }
 
 static struct platform_driver hecubafb_driver = {
        .probe  = hecubafb_probe,
-       .remove = hecubafb_remove,
+       .remove_new = hecubafb_remove,
        .driver = {
                .name   = "hecubafb",
        },