Re: [PATCH V2 1/9] cpufreq: Use __func__ to print function's name

2015-09-07 Thread Rafael J. Wysocki
On Monday, July 27, 2015 05:58:06 PM Viresh Kumar wrote: > 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. > >

Re: [PATCH V2 1/9] cpufreq: Use __func__ to print function's name

2015-09-07 Thread Rafael J. Wysocki
On Monday, July 27, 2015 05:58:06 PM Viresh Kumar wrote: > 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. > >

[PATCH V2 1/9] cpufreq: Use __func__ to print function's name

2015-07-27 Thread Viresh Kumar
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 Signed-off-by: Viresh Kumar ---

[PATCH V2 1/9] cpufreq: Use __func__ to print function's name

2015-07-27 Thread Viresh Kumar
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 pre...@linux.vnet.ibm.com Signed-off-by: Viresh