]> err.no Git - linux-2.6/blobdiff - sound/pci/hda/patch_sigmatel.c
Merge master.kernel.org:/home/rmk/linux-2.6-arm
[linux-2.6] / sound / pci / hda / patch_sigmatel.c
index 9d503da7320db9d21706f7f6717a834af644853c..33a8adaea768ab7ac842e0c7e65c178aedd02da6 100644 (file)
@@ -919,7 +919,7 @@ static int patch_stac9200(struct hda_codec *codec)
        struct sigmatel_spec *spec;
        int err;
 
-       spec  = kcalloc(1, sizeof(*spec), GFP_KERNEL);
+       spec  = kzalloc(sizeof(*spec), GFP_KERNEL);
        if (spec == NULL)
                return -ENOMEM;
 
@@ -957,7 +957,7 @@ static int patch_stac922x(struct hda_codec *codec)
        struct sigmatel_spec *spec;
        int err;
 
-       spec  = kcalloc(1, sizeof(*spec), GFP_KERNEL);
+       spec  = kzalloc(sizeof(*spec), GFP_KERNEL);
        if (spec == NULL)
                return -ENOMEM;