Commit a6fd6063 authored by Jingoo Han's avatar Jingoo Han Committed by David S. Miller

ide: cs5536: use module_pci_driver()

Use module_pci_driver() macro which makes the code smaller and
Signed-off-by: default avatarJingoo Han <>
Signed-off-by: default avatarDavid S. Miller <>
parent 58e48be7
......@@ -295,15 +295,7 @@ static struct pci_driver cs5536_pci_driver = {
.resume = ide_pci_resume,
static int __init cs5536_init(void)
return pci_register_driver(&cs5536_pci_driver);
static void __exit cs5536_exit(void)
MODULE_AUTHOR("Martin K. Petersen, Bartlomiej Zolnierkiewicz");
MODULE_DESCRIPTION("low-level driver for the CS5536 IDE controller");
......@@ -312,6 +304,3 @@ MODULE_DEVICE_TABLE(pci, cs5536_pci_tbl);
module_param_named(msr, use_msr, int, 0644);
MODULE_PARM_DESC(msr, "Force using MSR to configure IDE function (Default: 0)");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment