fbdev: vfb: Convert to platform remove callback returning void
[linux-2.6-microblaze.git] / drivers / video / fbdev / vfb.c
index 95d3c59..1a2514d 100644 (file)
@@ -479,7 +479,7 @@ err:
        return retval;
 }
 
-static int vfb_remove(struct platform_device *dev)
+static void vfb_remove(struct platform_device *dev)
 {
        struct fb_info *info = platform_get_drvdata(dev);
 
@@ -489,12 +489,11 @@ static int vfb_remove(struct platform_device *dev)
                fb_dealloc_cmap(&info->cmap);
                framebuffer_release(info);
        }
-       return 0;
 }
 
 static struct platform_driver vfb_driver = {
        .probe  = vfb_probe,
-       .remove = vfb_remove,
+       .remove_new = vfb_remove,
        .driver = {
                .name   = "vfb",
        },