diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2005-09-06 15:18:35 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 16:57:46 -0700 |
commit | 82ca76b6b160b6fce46f78c069f87fe1a4dc0778 (patch) | |
tree | 7e33c8a33970971317f0b1b1eb715dd884beffc1 /drivers/char/mbcs.c | |
parent | 7b842b6e3704f4b9606ff8a4ffe03579d9addf5e (diff) | |
download | linux-3.10-82ca76b6b160b6fce46f78c069f87fe1a4dc0778.tar.gz linux-3.10-82ca76b6b160b6fce46f78c069f87fe1a4dc0778.tar.bz2 linux-3.10-82ca76b6b160b6fce46f78c069f87fe1a4dc0778.zip |
[PATCH] drivers: convert kcalloc to kzalloc
This patch converts kcalloc(1, ...) calls to use the new kzalloc() function.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/mbcs.c')
-rw-r--r-- | drivers/char/mbcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/mbcs.c b/drivers/char/mbcs.c index 115dbb35334..3fa64c63110 100644 --- a/drivers/char/mbcs.c +++ b/drivers/char/mbcs.c @@ -750,7 +750,7 @@ static int mbcs_probe(struct cx_dev *dev, const struct cx_device_id *id) dev->soft = NULL; - soft = kcalloc(1, sizeof(struct mbcs_soft), GFP_KERNEL); + soft = kzalloc(sizeof(struct mbcs_soft), GFP_KERNEL); if (soft == NULL) return -ENOMEM; |