Commit 3906f4ed authored by Dave Jones's avatar Dave Jones

[CPUFREQ] Fix sparse warning in ondemand

drivers/cpufreq/cpufreq_ondemand.c:323:2: warning: Using plain integer as NULL pointer
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent b5ecf60f
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment