projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5ecf60
)
[CPUFREQ] Fix sparse warning in ondemand
author
Dave Jones
<davej@redhat.com>
Tue, 5 Sep 2006 21:15:47 +0000
(17:15 -0400)
committer
Dave Jones
<davej@redhat.com>
Tue, 5 Sep 2006 21:15:47 +0000
(17:15 -0400)
drivers/cpufreq/cpufreq_ondemand.c:323:2: warning: Using plain integer as NULL pointer
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq_ondemand.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/cpufreq/cpufreq_ondemand.c
b/drivers/cpufreq/cpufreq_ondemand.c
index 5ca2fd5d1ed1c0f281ae9217d4b17eeb5a3fa2ec..bf8aa45d4f019cccd866103d278fa9e7bd4f669d 100644
(file)
--- a/
drivers/cpufreq/cpufreq_ondemand.c
+++ b/
drivers/cpufreq/cpufreq_ondemand.c
@@
-449,7
+449,7
@@
static inline void dbs_timer_init(unsigned int cpu)
delay -= jiffies % delay;
ondemand_powersave_bias_init();
- INIT_WORK(&dbs_info->work, do_dbs_timer,
0
);
+ INIT_WORK(&dbs_info->work, do_dbs_timer,
NULL
);
queue_delayed_work_on(cpu, kondemand_wq, &dbs_info->work, delay);
}