Merge branches 'pm-cpuidle', 'pm-cpufreq', 'pm-domains' and 'pm-sleep'
[linux-2.6-block.git] / sound / oss / dev_table.c
index d8cf3e58dc76aa1017ef5b9424e862e95498ee6d..6dad51596b701df7ed6c4e77232ad1f2c07f24d0 100644 (file)
@@ -58,13 +58,13 @@ int sound_install_audiodrv(int vers, char *name, struct audio_driver *driver,
 
        if (vers != AUDIO_DRIVER_VERSION || driver_size > sizeof(struct audio_driver)) {
                printk(KERN_ERR "Sound: Incompatible audio driver for %s\n", name);
-               return -(EINVAL);
+               return -EINVAL;
        }
        num = sound_alloc_audiodev();
 
        if (num == -1) {
                printk(KERN_ERR "sound: Too many audio drivers\n");
-               return -(EBUSY);
+               return -EBUSY;
        }
        d = (struct audio_driver *) (sound_mem_blocks[sound_nblocks] = vmalloc(sizeof(struct audio_driver)));
        sound_nblocks++;
@@ -79,7 +79,7 @@ int sound_install_audiodrv(int vers, char *name, struct audio_driver *driver,
        if (d == NULL || op == NULL) {
                printk(KERN_ERR "Sound: Can't allocate driver for (%s)\n", name);
                sound_unload_audiodev(num);
-               return -(ENOMEM);
+               return -ENOMEM;
        }
        init_waitqueue_head(&op->in_sleeper);
        init_waitqueue_head(&op->out_sleeper);