diff options
author | Libo Chen <clbchenlibo.chen@huawei.com> | 2013-09-13 17:52:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-13 20:02:50 -0400 |
commit | a2a69f0b35762410c4194f9827354310f68470be (patch) | |
tree | b2b39d5890ce122bbf4b6e2e09d5976f5603ac28 /drivers/atm | |
parent | c9771bfd6ddae11cea367cd544e2c9d193f1f305 (diff) |
drivers/atm/he.c: convert to module_pci_driver
Signed-off-by: Libo Chen <libo.chen@huawei.com>
Cc: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
-rw-r--r-- | drivers/atm/he.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/atm/he.c b/drivers/atm/he.c index 449f6298dc89..8557adcd34ee 100644 --- a/drivers/atm/he.c +++ b/drivers/atm/he.c | |||
@@ -2865,15 +2865,4 @@ static struct pci_driver he_driver = { | |||
2865 | .id_table = he_pci_tbl, | 2865 | .id_table = he_pci_tbl, |
2866 | }; | 2866 | }; |
2867 | 2867 | ||
2868 | static int __init he_init(void) | 2868 | module_pci_driver(he_driver); |
2869 | { | ||
2870 | return pci_register_driver(&he_driver); | ||
2871 | } | ||
2872 | |||
2873 | static void __exit he_cleanup(void) | ||
2874 | { | ||
2875 | pci_unregister_driver(&he_driver); | ||
2876 | } | ||
2877 | |||
2878 | module_init(he_init); | ||
2879 | module_exit(he_cleanup); | ||