diff options
author | Libo Chen <clbchenlibo.chen@huawei.com> | 2014-08-12 16:31:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-13 23:05:52 -0400 |
commit | cd094927c68718c8bda432c18e85b6ec3a9ee3d1 (patch) | |
tree | 6f420fce3b40b867cbf0738459942ae920dc6891 /drivers/net/irda | |
parent | efd5029010c5b13c20bd6364fce9b3eae454419a (diff) |
drivers/net/irda/donauboe.c: convert to module_pci_driver
Signed-off-by: Libo Chen <libo.chen@huawei.com>
Cc: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda')
-rw-r--r-- | drivers/net/irda/donauboe.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/net/irda/donauboe.c b/drivers/net/irda/donauboe.c index 768dfe9a9315..6d3e2093bf7f 100644 --- a/drivers/net/irda/donauboe.c +++ b/drivers/net/irda/donauboe.c | |||
@@ -1755,17 +1755,4 @@ static struct pci_driver donauboe_pci_driver = { | |||
1755 | .resume = toshoboe_wakeup | 1755 | .resume = toshoboe_wakeup |
1756 | }; | 1756 | }; |
1757 | 1757 | ||
1758 | static int __init | 1758 | module_pci_driver(donauboe_pci_driver); |
1759 | donauboe_init (void) | ||
1760 | { | ||
1761 | return pci_register_driver(&donauboe_pci_driver); | ||
1762 | } | ||
1763 | |||
1764 | static void __exit | ||
1765 | donauboe_cleanup (void) | ||
1766 | { | ||
1767 | pci_unregister_driver(&donauboe_pci_driver); | ||
1768 | } | ||
1769 | |||
1770 | module_init(donauboe_init); | ||
1771 | module_exit(donauboe_cleanup); | ||