Skip to content

Commit 91048ce

Browse files
dedekindrafaeljw
authored andcommitted
intel_idle: use pr_info() instead of printk()
Substitute 'printk()' with 'pr_info()', because 'intel_idle' already uses 'pr_debug()', so using 'pr_info()' will be more consistent. In addition to this, this patch addresses the following checkpatch.pl warning: WARNING: printk() should include KERN_<LEVEL> facility level Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Reviewed-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 0cfd870 commit 91048ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/idle/intel_idle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,7 @@ static void __init intel_idle_init_cstates_icpu(struct cpuidle_driver *drv)
18951895
drv->states[drv->state_count] = cpuidle_state_table[cstate];
18961896

18971897
if ((cpuidle_state_table[cstate].flags & CPUIDLE_FLAG_IRQ_ENABLE) || force_irq_on) {
1898-
printk("intel_idle: forced intel_idle_irq for state %d\n", cstate);
1898+
pr_info("forced intel_idle_irq for state %d\n", cstate);
18991899
drv->states[drv->state_count].enter = intel_idle_irq;
19001900
}
19011901

0 commit comments

Comments
 (0)