mirror of
https://github.com/hardkernel/linux.git
synced 2026-05-30 07:46:36 +09:00
staging: kpc2000: remove extra spaces in core.c
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
26c1264233
commit
8dd3355a22
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user