[CPUFREQ] cpufreq_ondemand.c: don't use _WORK_NAR

Looks like dbs_timer() is very careful wrt per_cpu(cpu_dbs_info),
and it doesn't need the help of WORK_STRUCT_NOAUTOREL.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-By: David Howells <dhowells@redhat.com>
Signed-off-by: Dave Jones <davej@redhat.com>

authored by Oleg Nesterov and committed by Dave Jones 48ac3271 b077ffb3

+1 -4
+1 -4
drivers/cpufreq/cpufreq_ondemand.c
··· 432 432 /* We want all CPUs to do sampling nearly on same jiffy */ 433 433 int delay = usecs_to_jiffies(dbs_tuners_ins.sampling_rate); 434 434 435 - /* Permit rescheduling of this work item */ 436 - work_release(work); 437 - 438 435 delay -= jiffies % delay; 439 436 440 437 if (lock_policy_rwsem_write(cpu) < 0) ··· 470 473 dbs_info->enable = 1; 471 474 ondemand_powersave_bias_init(); 472 475 dbs_info->sample_type = DBS_NORMAL_SAMPLE; 473 - INIT_DELAYED_WORK_NAR(&dbs_info->work, do_dbs_timer); 476 + INIT_DELAYED_WORK(&dbs_info->work, do_dbs_timer); 474 477 queue_delayed_work_on(dbs_info->cpu, kondemand_wq, &dbs_info->work, 475 478 delay); 476 479 }