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)
commit63431f789c957cebcffeb51953dfaeb7f1ddd827
tree496fe5d7cc79202828a9a01296b4125e74c0ec2d
parentd075a88e515278b3e2d5ec39e80e6fd3c6e48841
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