aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2006-12-19 14:44:15 +0100
committerJaroslav Kysela <perex@suse.cz>2007-02-09 09:02:39 +0100
commitdc041e0b1fc918562aa3803cda166fee219a34d2 (patch)
tree9036beb0efeb392b166bbace4f89846594e50eda /sound
parente4c3bf0f65ec9da8b067a722f734d1012ef12ceb (diff)
downloadkernel_samsung_smdk4412-dc041e0b1fc918562aa3803cda166fee219a34d2.zip
kernel_samsung_smdk4412-dc041e0b1fc918562aa3803cda166fee219a34d2.tar.gz
kernel_samsung_smdk4412-dc041e0b1fc918562aa3803cda166fee219a34d2.tar.bz2
[ALSA] sound: Change final two instances of kcalloc(1,...) to kzalloc()
Change the two remaining instances in the tree of kcalloc(1,...) to the corresponding kzalloc() call. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 18bfc39..2be0ef9 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6590,7 +6590,7 @@ static int patch_alc262(struct hda_codec *codec)
int board_config;
int err;
- spec = kcalloc(1, sizeof(*spec), GFP_KERNEL);
+ spec = kzalloc(sizeof(*spec), GFP_KERNEL);
if (spec == NULL)
return -ENOMEM;
@@ -7710,7 +7710,7 @@ static int patch_alc861(struct hda_codec *codec)
int board_config;
int err;
- spec = kcalloc(1, sizeof(*spec), GFP_KERNEL);
+ spec = kzalloc(sizeof(*spec), GFP_KERNEL);
if (spec == NULL)
return -ENOMEM;