From: Dave Jones Date: Sat, 11 Mar 2006 21:13:56 +0000 (-0500) Subject: [CPUFREQ] kzalloc conversion for gx-suspmod X-Git-Tag: v2.6.17-rc1~729^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=84f0b1ef8c013b33dea9bbc2521094dd29110cf0;p=linux-2.6-omap-h63xx.git [CPUFREQ] kzalloc conversion for gx-suspmod Signed-off-by: Dave Jones --- diff --git a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c b/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c index 65b8fa2b0ee..92afa3bc84f 100644 --- a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c +++ b/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c @@ -459,10 +459,9 @@ static int __init cpufreq_gx_init(void) dprintk("geode suspend modulation available.\n"); - params = kmalloc(sizeof(struct gxfreq_params), GFP_KERNEL); + params = kzalloc(sizeof(struct gxfreq_params), GFP_KERNEL); if (params == NULL) return -ENOMEM; - memset(params, 0, sizeof(struct gxfreq_params)); params->cs55x0 = gx_pci; gx_params = params;