From e9f66d9b9ce03f74a52894cebedf12b67f65dd24 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 24 Apr 2012 12:25:00 +0200 Subject: ALSA: pci: clean up using module_pci_driver() Signed-off-by: Takashi Iwai --- sound/pci/ctxfi/xfi.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'sound/pci/ctxfi/xfi.c') diff --git a/sound/pci/ctxfi/xfi.c b/sound/pci/ctxfi/xfi.c index 15d95d2bacee..75aa2c338410 100644 --- a/sound/pci/ctxfi/xfi.c +++ b/sound/pci/ctxfi/xfi.c @@ -154,15 +154,4 @@ static struct pci_driver ct_driver = { #endif }; -static int __init ct_card_init(void) -{ - return pci_register_driver(&ct_driver); -} - -static void __exit ct_card_exit(void) -{ - pci_unregister_driver(&ct_driver); -} - -module_init(ct_card_init) -module_exit(ct_card_exit) +module_pci_driver(ct_driver); -- cgit v1.2.3-55-g7522