projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
388d6c5
)
[CPUFREQ] kzalloc conversion for gx-suspmod
author
Dave Jones
<davej@redhat.com>
Sat, 11 Mar 2006 21:13:56 +0000
(16:13 -0500)
committer
Dave Jones
<davej@redhat.com>
Sat, 11 Mar 2006 21:13:56 +0000
(16:13 -0500)
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
b/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
index 65b8fa2b0ee42ce485f8b1dc7be56e71152efda8..92afa3bc84f102a29b99f864f4f1db866e5a7a1a 100644
(file)
--- 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 = k
m
alloc(sizeof(struct gxfreq_params), GFP_KERNEL);
+ params = k
z
alloc(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;