]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: Use __func__ to print function's name
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 27 Jul 2015 12:28:06 +0000 (17:58 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Sep 2015 21:52:28 +0000 (23:52 +0200)
commitc217d6fb2725d1881437297aab598d485da3339b
tree496fe5d7cc79202828a9a01296b4125e74c0ec2d
parentf482546f551a2247cbdf5b86d43681df1918d9a1
cpufreq: Use __func__ to print function's name

Its better to use __func__ to print functions name instead of writing
the name in the print statement. This also has the advantage that a
change in function's name doesn't force us to change the print message
as well.

Reviewed-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c