staging: kpc2000: remove extra spaces in core.c
authorSimon Sandström <simon@nikanor.nu>
Fri, 24 May 2019 11:08:02 +0000 (13:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2019 21:06:13 +0000 (14:06 -0700)
Fixes checkpatch.pl error "foo __init  bar" should be "foo __init bar"
and "foo __exit  bar" should be "foo __exit bar".

Signed-off-by: Simon Sandström <simon@nikanor.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc2000/core.c

index 3da06e4..0b17243 100644 (file)
@@ -655,7 +655,7 @@ static struct pci_driver kp2000_driver_inst = {
        .remove =       kp2000_pcie_remove,
 };
 
-static int __init  kp2000_pcie_init(void)
+static int __init kp2000_pcie_init(void)
 {
        kpc_uio_class = class_create(THIS_MODULE, "kpc_uio");
        if (IS_ERR(kpc_uio_class))
@@ -666,7 +666,7 @@ static int __init  kp2000_pcie_init(void)
 }
 module_init(kp2000_pcie_init);
 
-static void __exit  kp2000_pcie_exit(void)
+static void __exit kp2000_pcie_exit(void)
 {
        pci_unregister_driver(&kp2000_driver_inst);
        class_destroy(kpc_uio_class);