aboutsummaryrefslogtreecommitdiffstats
path: root/sound/sparc/cs4231.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/sparc/cs4231.c')
-rw-r--r--sound/sparc/cs4231.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/sparc/cs4231.c b/sound/sparc/cs4231.c
index bd169f541181..2fb27c4e951f 100644
--- a/sound/sparc/cs4231.c
+++ b/sound/sparc/cs4231.c
@@ -1969,7 +1969,7 @@ static int __init snd_cs4231_sbus_create(snd_card_t *card,
1969 int err; 1969 int err;
1970 1970
1971 *rchip = NULL; 1971 *rchip = NULL;
1972 chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); 1972 chip = kzalloc(sizeof(*chip), GFP_KERNEL);
1973 if (chip == NULL) 1973 if (chip == NULL)
1974 return -ENOMEM; 1974 return -ENOMEM;
1975 1975
@@ -2083,7 +2083,7 @@ static int __init snd_cs4231_ebus_create(snd_card_t *card,
2083 int err; 2083 int err;
2084 2084
2085 *rchip = NULL; 2085 *rchip = NULL;
2086 chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); 2086 chip = kzalloc(sizeof(*chip), GFP_KERNEL);
2087 if (chip == NULL) 2087 if (chip == NULL)
2088 return -ENOMEM; 2088 return -ENOMEM;
2089 2089