diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-04-24 06:25:00 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-04-24 06:25:00 -0400 |
commit | e9f66d9b9ce03f74a52894cebedf12b67f65dd24 (patch) | |
tree | 6fc07ea37548ac3c9f808ee25c10fcfeb34236ea /sound/pci/ctxfi | |
parent | 68853fa30cdb6a9a92f7ab46c34aedb24b2f9d56 (diff) |
ALSA: pci: clean up using module_pci_driver()
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi')
-rw-r--r-- | sound/pci/ctxfi/xfi.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sound/pci/ctxfi/xfi.c b/sound/pci/ctxfi/xfi.c index 15d95d2bace..75aa2c33841 100644 --- a/sound/pci/ctxfi/xfi.c +++ b/sound/pci/ctxfi/xfi.c | |||
@@ -154,15 +154,4 @@ static struct pci_driver ct_driver = { | |||
154 | #endif | 154 | #endif |
155 | }; | 155 | }; |
156 | 156 | ||
157 | static int __init ct_card_init(void) | 157 | module_pci_driver(ct_driver); |
158 | { | ||
159 | return pci_register_driver(&ct_driver); | ||
160 | } | ||
161 | |||
162 | static void __exit ct_card_exit(void) | ||
163 | { | ||
164 | pci_unregister_driver(&ct_driver); | ||
165 | } | ||
166 | |||
167 | module_init(ct_card_init) | ||
168 | module_exit(ct_card_exit) | ||