]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/cpufreq/acpi-cpufreq.c: This fixes the following checkpatch warning
authorMohan Kumar <mohankumar718@gmail.com>
Mon, 15 Apr 2019 11:03:58 +0000 (14:03 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 16 Apr 2019 21:09:28 +0000 (23:09 +0200)
commit86f629404d3a46b3162761d3d8d671bc4a3ef51b
treec7253e832739ec12068387c3c2c1763f48cd8ec3
parent4db7130eec14b95ad7982926442211cce8a55137
drivers/cpufreq/acpi-cpufreq.c: This fixes the following checkpatch warning

WARNING: Prefer using '"%s...", __func__' to using function's name, in a
string

Switch hardcoded function name with a reference to __func__ making the
code more maintainable

Signed-off-by: Mohan Kumar <mohankumar718@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/acpi-cpufreq.c