kernel-ark/drivers/staging/phison
Devendra Naga d44858a9b4 staging/phison: use module_pci_driver macro
remove the duplication of module_pci_driver and use this macro instead

module_pci_driver macro does the same things as the code below does

static int __init pci_test_dev_init(void)
{
       return pci_register_driver(&pci_test_driver_ops);
}

static void __exit pci_test_dev_exit(void)
{
       pci_unregister_driver(&pci_test_driver_ops);
}

module_init(pci_test_dev_init);
module_exit(pci_test_dev_exit);

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-07-11 17:26:02 -07:00
..
Kconfig Staging: phison: depends on ATA_BMDMA 2010-06-04 13:38:57 -07:00
Makefile Staging: phison: add driver to the build system 2009-04-03 14:53:40 -07:00
phison.c staging/phison: use module_pci_driver macro 2012-07-11 17:26:02 -07:00