projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e4968e
)
[ALSA] emu10k1x: simplify around pci_register_driver()
author
Alexey Dobriyan
<adobriyan@gmail.com>
Wed, 16 Aug 2006 10:56:53 +0000
(12:56 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Sat, 23 Sep 2006 08:41:05 +0000
(10:41 +0200)
Report errors to modprobe as side effect.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/emu10k1/emu10k1x.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/emu10k1/emu10k1x.c
b/sound/pci/emu10k1/emu10k1x.c
index bda8bdf59935b367988aa692c14c69951fbe7916..da1610a571b8c5cd5db1a0ebf131e59570d2f030 100644
(file)
--- a/
sound/pci/emu10k1/emu10k1x.c
+++ b/
sound/pci/emu10k1/emu10k1x.c
@@
-1626,12
+1626,7
@@
static struct pci_driver driver = {
// initialization of the module
static int __init alsa_card_emu10k1x_init(void)
{
- int err;
-
- if ((err = pci_register_driver(&driver)) > 0)
- return err;
-
- return 0;
+ return pci_register_driver(&driver);
}
// clean up the module