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/ad1889.c | |
parent | 68853fa30cdb6a9a92f7ab46c34aedb24b2f9d56 (diff) |
ALSA: pci: clean up using module_pci_driver()
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ad1889.c')
-rw-r--r-- | sound/pci/ad1889.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/sound/pci/ad1889.c b/sound/pci/ad1889.c index 9d91d61902b4..e672ff4df2da 100644 --- a/sound/pci/ad1889.c +++ b/sound/pci/ad1889.c | |||
@@ -1062,17 +1062,4 @@ static struct pci_driver ad1889_pci_driver = { | |||
1062 | .remove = __devexit_p(snd_ad1889_remove), | 1062 | .remove = __devexit_p(snd_ad1889_remove), |
1063 | }; | 1063 | }; |
1064 | 1064 | ||
1065 | static int __init | 1065 | module_pci_driver(ad1889_pci_driver); |
1066 | alsa_ad1889_init(void) | ||
1067 | { | ||
1068 | return pci_register_driver(&ad1889_pci_driver); | ||
1069 | } | ||
1070 | |||
1071 | static void __exit | ||
1072 | alsa_ad1889_fini(void) | ||
1073 | { | ||
1074 | pci_unregister_driver(&ad1889_pci_driver); | ||
1075 | } | ||
1076 | |||
1077 | module_init(alsa_ad1889_init); | ||
1078 | module_exit(alsa_ad1889_fini); | ||