Merge tag 'edac_updates_for_v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / input / serio / i8042-sparcio.h
index b68793b..c2fda54 100644 (file)
@@ -82,11 +82,9 @@ static int sparc_i8042_probe(struct platform_device *op)
        return 0;
 }
 
-static int sparc_i8042_remove(struct platform_device *op)
+static void sparc_i8042_remove(struct platform_device *op)
 {
        of_iounmap(kbd_res, kbd_iobase, 8);
-
-       return 0;
 }
 
 static const struct of_device_id sparc_i8042_match[] = {
@@ -103,7 +101,7 @@ static struct platform_driver sparc_i8042_driver = {
                .of_match_table = sparc_i8042_match,
        },
        .probe          = sparc_i8042_probe,
-       .remove         = sparc_i8042_remove,
+       .remove_new     = sparc_i8042_remove,
 };
 
 static bool i8042_is_mr_coffee(void)