parisc: Make struct parisc_driver::remove() return void
[sfrench/cifs-2.6.git] / drivers / parport / parport_gsc.c
index 1e43b3f399a83d05a0289f4d67cac605dbc77352..4332692ca4b8f6d9329115822dcbe7f93db62432 100644 (file)
@@ -378,7 +378,7 @@ static int __init parport_init_chip(struct parisc_device *dev)
        return 0;
 }
 
-static int __exit parport_remove_chip(struct parisc_device *dev)
+static void __exit parport_remove_chip(struct parisc_device *dev)
 {
        struct parport *p = dev_get_drvdata(&dev->dev);
        if (p) {
@@ -397,7 +397,6 @@ static int __exit parport_remove_chip(struct parisc_device *dev)
                parport_put_port(p);
                kfree (ops); /* hope no-one cached it */
        }
-       return 0;
 }
 
 static const struct parisc_device_id parport_tbl[] __initconst = {