diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-04-24 12:25:00 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-04-24 12:25:00 +0200 |
commit | e9f66d9b9ce03f74a52894cebedf12b67f65dd24 (patch) | |
tree | 6fc07ea37548ac3c9f808ee25c10fcfeb34236ea /sound/pci/oxygen/virtuoso.c | |
parent | 68853fa30cdb6a9a92f7ab46c34aedb24b2f9d56 (diff) | |
download | linux-e9f66d9b9ce03f74a52894cebedf12b67f65dd24.tar.gz linux-e9f66d9b9ce03f74a52894cebedf12b67f65dd24.tar.bz2 linux-e9f66d9b9ce03f74a52894cebedf12b67f65dd24.zip |
ALSA: pci: clean up using module_pci_driver()
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen/virtuoso.c')
-rw-r--r-- | sound/pci/oxygen/virtuoso.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c index 3fdee4950174..19962c6d38c3 100644 --- a/sound/pci/oxygen/virtuoso.c +++ b/sound/pci/oxygen/virtuoso.c @@ -100,15 +100,4 @@ static struct pci_driver xonar_driver = { .shutdown = oxygen_pci_shutdown, }; -static int __init alsa_card_xonar_init(void) -{ - return pci_register_driver(&xonar_driver); -} - -static void __exit alsa_card_xonar_exit(void) -{ - pci_unregister_driver(&xonar_driver); -} - -module_init(alsa_card_xonar_init) -module_exit(alsa_card_xonar_exit) +module_pci_driver(xonar_driver); |