aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/oxygen.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-04-24 06:25:00 -0400
committerTakashi Iwai <tiwai@suse.de>2012-04-24 06:25:00 -0400
commite9f66d9b9ce03f74a52894cebedf12b67f65dd24 (patch)
tree6fc07ea37548ac3c9f808ee25c10fcfeb34236ea /sound/pci/oxygen/oxygen.c
parent68853fa30cdb6a9a92f7ab46c34aedb24b2f9d56 (diff)
ALSA: pci: clean up using module_pci_driver()
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen/oxygen.c')
-rw-r--r--sound/pci/oxygen/oxygen.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/sound/pci/oxygen/oxygen.c b/sound/pci/oxygen/oxygen.c
index eab663eef117..6bc589dc6799 100644
--- a/sound/pci/oxygen/oxygen.c
+++ b/sound/pci/oxygen/oxygen.c
@@ -870,15 +870,4 @@ static struct pci_driver oxygen_driver = {
870#endif 870#endif
871}; 871};
872 872
873static int __init alsa_card_oxygen_init(void) 873module_pci_driver(oxygen_driver);
874{
875 return pci_register_driver(&oxygen_driver);
876}
877
878static void __exit alsa_card_oxygen_exit(void)
879{
880 pci_unregister_driver(&oxygen_driver);
881}
882
883module_init(alsa_card_oxygen_init)
884module_exit(alsa_card_oxygen_exit)