summaryrefslogtreecommitdiffstats
path: root/drivers/idle
diff options
context:
space:
mode:
authorYu Liao <liaoyu15@huawei.com>2022-08-29 09:15:34 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-09-03 20:14:51 +0200
commit06f7c08751939f33d79712590c2b21d02aba61b6 (patch)
tree53b8f2e37babc720633665048c7834130f534648 /drivers/idle
parent0dbc0f49d6739033a4a2807726d1d6542f16b099 (diff)
downloadlinux-06f7c08751939f33d79712590c2b21d02aba61b6.tar.bz2
cpuidle: Remove redundant check in cpuidle_switch_governor()
gov has already been NULL checked at the beginning of cpuidle_switch_governor, so remove redundant check. While at it, use pr_info() instead printk() to address the following checkpatch warning: WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... Signed-off-by: Yu Liao <liaoyu15@huawei.com> [ rjw: Subject and changelog edits, added empty line after if () ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/idle')
0 files changed, 0 insertions, 0 deletions