[ALSA] Replace with kzalloc() - pci stuff
[safe/jmp/linux-2.6] / sound / pci / hda / patch_cmedia.c
index 07fb4f5..523c362 100644 (file)
@@ -667,7 +667,7 @@ static int patch_cmi9880(struct hda_codec *codec)
 {
        struct cmi_spec *spec;
 
-       spec = kcalloc(1, sizeof(*spec), GFP_KERNEL);
+       spec = kzalloc(sizeof(*spec), GFP_KERNEL);
        if (spec == NULL)
                return -ENOMEM;