diff options
Diffstat (limited to 'drivers/cpufreq/exynos-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/exynos-cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c index 0d32f02ef4d6..366475161c76 100644 --- a/drivers/cpufreq/exynos-cpufreq.c +++ b/drivers/cpufreq/exynos-cpufreq.c | |||
@@ -289,7 +289,7 @@ static int __init exynos_cpufreq_init(void) | |||
289 | { | 289 | { |
290 | int ret = -EINVAL; | 290 | int ret = -EINVAL; |
291 | 291 | ||
292 | exynos_info = kzalloc(sizeof(struct exynos_dvfs_info), GFP_KERNEL); | 292 | exynos_info = kzalloc(sizeof(*exynos_info), GFP_KERNEL); |
293 | if (!exynos_info) | 293 | if (!exynos_info) |
294 | return -ENOMEM; | 294 | return -ENOMEM; |
295 | 295 | ||